ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
In addition to the correct versions, you need to have #include <ros.h>
at the top of the code, ros::NodeHandle nh;
declared as a global, nh.initNode();
and Serial.begin(115200);
within void setup()
, and nh.spinOnce();
within void loop()
.