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

in your code arduino code you have created object ros::NodeHandle NH;

and using as nh.initNode();

please change those to lowercase

in your code arduino code you have created object ros::NodeHandle NH;

and using as nh.initNode();

please change those to lowercase

and please remove Serial.print statements Rosserial uses the arduino's serial port for communication. By writing to the same port using Serial.print you're breaking the protocol. Hope this helps.