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

You should maybe start with a C++-Tutorial.

  1. 'Angle' is not defined
  2. std_msgs/String has no "angle" member but only a 'data'-member
  3. Your ROS_INFO is not terminated so your program does not even compile.
  4. " i have an error in my code" is the WORST error description so please at least post the error message.
  5. There is a missing ';' after servo_msg->angle