rostate_machine_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
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  RostateMachine state_machine(nh,pnh);
24  state_machine.run();
25  ros::spin();
26  return 0;
27 }
void run()
Run State Machine (Enable Transitions)
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROS Wrapper for the State Machine Class.
ROSCPP_DECL void spin()
ROS wrapper of the State Machine Class.
int main(int argc, char *argv[])


rostate_machine
Author(s):
autogenerated on Wed Sep 4 2019 05:19:52