ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Yes you can publish any message type from your arduino. You need to write a .ino script to do so. Make sure you include the following lines:
#include <ros.h>
#include <nav_msgs/Odometry.h>
at the top before the line
#include "Arduino.h"
2 | No.2 Revision |
Yes you can publish any message type from your arduino. You need to write a .ino script to do so. Make sure you include the following lines:
#include <ros.h>
#include <nav_msgs/Odometry.h>
at the top before the line
#include "Arduino.h"
Edit: The rosserial library even has an example sketch named Odom. You can check it out.