ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It looks like your variables are not initialized, for example your node is never initialized. Did you try using a main function similar to the tutorial ?

int main(int argc, char** argv)
{
  ros::init(argc, argv, "my_led_action");

  LedAction my_led_action("my_led_action");
  ros::spin();

  return 0;
}