42 const std::string node_name =
"sml_example";
56 while (
ros::ok() && !state_machine.is(boost::sml::X)) {
57 state_machine.process_event(
spin);
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
#define ROS_INFO_STREAM_NAMED(name, args)
int example_main(int argc, char **argv)
sml::sm< StateMachineLogic, sml::logger< SmlRosLogger > > StateMachine
ROSCPP_DECL void shutdown()
ROSCPP_DECL void spinOnce()