Main Page
Namespaces
Namespace List
Namespace Members
All
c
d
e
f
g
l
m
p
r
s
Functions
Variables
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
h
i
j
l
m
n
o
p
r
s
t
u
~
Functions
_
a
b
c
d
e
i
j
m
o
p
r
s
t
u
~
Variables
_
b
c
d
e
f
h
i
j
l
m
n
p
r
s
t
Files
File List
File Members
All
b
c
d
e
g
i
j
l
m
p
r
s
t
v
w
Functions
c
d
g
i
j
l
m
p
r
s
t
w
Typedefs
src
ffi
ros_functions.h
Go to the documentation of this file.
1
//
2
// Created by nakakura on 22/09/04.
3
//
4
5
#ifndef SKYWAY_FFI_H
6
#define SKYWAY_FFI_H
7
8
#include <
ros/ros.h
>
9
#include "../router.h"
10
11
// Rust側から呼び出されるC++側関数の定義
12
extern
"C"
{
13
// loggers
14
void
log_debug_c
(
char
* message);
15
void
log_info_c
(
char
* message);
16
void
log_warn_c
(
char
* message);
17
void
log_err_c
(
char
* message);
18
19
// ros control functions
20
bool
is_ok_c
();
21
bool
is_shutting_down_c
();
22
void
ros_sleep_c
(
double
dur);
23
void
wait_for_shutdown_c
();
24
void
shutdown_c
();
25
};
26
27
#endif // SKYWAY_FFI_H
shutdown_c
void shutdown_c()
Definition:
ros_functions.cpp:34
ros.h
log_debug_c
void log_debug_c(char *message)
Definition:
ros_functions.cpp:12
log_warn_c
void log_warn_c(char *message)
Definition:
ros_functions.cpp:20
log_info_c
void log_info_c(char *message)
Definition:
ros_functions.cpp:16
log_err_c
void log_err_c(char *message)
Definition:
ros_functions.cpp:24
is_shutting_down_c
bool is_shutting_down_c()
Definition:
ros_functions.cpp:31
ros_sleep_c
void ros_sleep_c(double dur)
Definition:
ros_functions.cpp:32
wait_for_shutdown_c
void wait_for_shutdown_c()
Definition:
ros_functions.cpp:33
is_ok_c
bool is_ok_c()
Definition:
ros_functions.cpp:30
skyway
Author(s): Toshiya Nakakura
autogenerated on Thu Oct 26 2023 02:42:21