Main Page
Namespaces
Classes
Files
File List
File Members
src
example_event_client_node.cpp
Go to the documentation of this file.
1
12
// Headers for ros
13
#include <
ros/ros.h
>
14
15
// Headers in this package
16
#include <
rostate_machine/example_event_client.h
>
17
18
int
main
(
int
argc,
char
*argv[])
19
{
20
ros::init
(argc, argv,
"rostate_machine_node"
);
21
ros::NodeHandle
nh;
22
ros::NodeHandle
pnh(
"~"
);
23
ExampleEventClient
client(nh,pnh);
24
ros::spin
();
25
return
0;
26
}
ros::NodeHandle
ExampleEventClient
Definition:
example_event_client.h:25
ros::init
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
example_event_client.h
example implementation using EventClient
ros::spin
ROSCPP_DECL void spin()
ros.h
main
int main(int argc, char *argv[])
Definition:
example_event_client_node.cpp:18
rostate_machine
Author(s):
autogenerated on Wed Sep 4 2019 05:19:52