This program is porting rosserial_arduino for mbed http://www.ros.org/wiki/rosserial_arduino This program supported the revision of 169 of rosserial.

Dependencies:  

Dependents:   rosserial_mbed robot_S2

Revision:
3:1cf99502f396
Parent:
1:ff0ec969dad1
Child:
4:684f39d0c346
--- a/ros/msg.h	Sun Oct 16 09:35:11 2011 +0000
+++ b/ros/msg.h	Sat Nov 12 23:54:45 2011 +0000
@@ -32,8 +32,8 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef ROS_MSG_H_
-#define ROS_MSG_H_
+#ifndef _ROS_MSG_H_
+#define _ROS_MSG_H_
 
 
 namespace ros {
@@ -42,9 +42,10 @@
   class Msg
   {
     public:
-      virtual int serialize(unsigned char *outbuffer) = 0;
+      virtual int serialize(unsigned char *outbuffer) const = 0;
       virtual int deserialize(unsigned char *data) = 0;
       virtual const char * getType() = 0;
+      virtual const char * getMD5() = 0;
   };
 
 }