modify for Hydro version

Dependencies:   MODSERIAL

Fork of rosserial_mbed_lib by nucho

Revision:
3:1cf99502f396
Parent:
1:ff0ec969dad1
--- a/geometry_msgs/Twist.h	Sun Oct 16 09:35:11 2011 +0000
+++ b/geometry_msgs/Twist.h	Sat Nov 12 23:54:45 2011 +0000
@@ -1,10 +1,10 @@
-#ifndef ros_geometry_msgs_Twist_h
-#define ros_geometry_msgs_Twist_h
+#ifndef _ROS_geometry_msgs_Twist_h
+#define _ROS_geometry_msgs_Twist_h
 
 #include <stdint.h>
 #include <string.h>
 #include <stdlib.h>
-#include "../ros/msg.h"
+#include "ros/msg.h"
 #include "geometry_msgs/Vector3.h"
 
 namespace geometry_msgs
@@ -16,7 +16,7 @@
       geometry_msgs::Vector3 linear;
       geometry_msgs::Vector3 angular;
 
-    virtual int serialize(unsigned char *outbuffer)
+    virtual int serialize(unsigned char *outbuffer) const
     {
       int offset = 0;
       offset += this->linear.serialize(outbuffer + offset);
@@ -32,7 +32,8 @@
      return offset;
     }
 
-   virtual const char * getType(){ return "geometry_msgs/Twist"; };
+    virtual const char * getType(){ return "geometry_msgs/Twist"; };
+    virtual const char * getMD5(){ return "9f195f881246fdfa2798d1d3eebca84a"; };
 
   };