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
test
test_main.cpp
Go to the documentation of this file.
1
#include <gtest/gtest.h>
2
#include <
ros/ros.h
>
3
4
int
main
(
int
argc,
char
**argv) {
5
testing::InitGoogleTest(&argc, argv);
6
ros::init
(argc, argv,
"test_node"
);
7
8
ros::AsyncSpinner
spinner(4);
9
spinner.
start
();
10
int
ret = RUN_ALL_TESTS();
11
spinner.
stop
();
12
ros::shutdown
();
13
return
ret;
14
}
main
int main(int argc, char **argv)
Definition:
test_main.cpp:4
ros::init
ROSCPP_DECL void init(const M_string &remappings, const std::string &name, uint32_t options=0)
ros::AsyncSpinner::start
void start()
ros.h
ros::AsyncSpinner
ros::shutdown
ROSCPP_DECL void shutdown()
ros::AsyncSpinner::stop
void stop()
skyway
Author(s): Toshiya Nakakura
autogenerated on Thu Oct 26 2023 02:42:21