ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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
2 | No.2 Revision |
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.