modify for Hydro version

Dependencies:   MODSERIAL

Fork of rosserial_mbed_lib by nucho

Revision:
3:1cf99502f396
Parent:
1:ff0ec969dad1
--- a/geometry_msgs/Transform.h	Sun Oct 16 09:35:11 2011 +0000
+++ b/geometry_msgs/Transform.h	Sat Nov 12 23:54:45 2011 +0000
@@ -1,10 +1,10 @@
-#ifndef ros_geometry_msgs_Transform_h
-#define ros_geometry_msgs_Transform_h
+#ifndef _ROS_geometry_msgs_Transform_h
+#define _ROS_geometry_msgs_Transform_h
 
 #include <stdint.h>
 #include <string.h>
 #include <stdlib.h>
-#include "../ros/msg.h"
+#include "ros/msg.h"
 #include "geometry_msgs/Vector3.h"
 #include "geometry_msgs/Quaternion.h"
 
@@ -17,7 +17,7 @@
       geometry_msgs::Vector3 translation;
       geometry_msgs::Quaternion rotation;
 
-    virtual int serialize(unsigned char *outbuffer)
+    virtual int serialize(unsigned char *outbuffer) const
     {
       int offset = 0;
       offset += this->translation.serialize(outbuffer + offset);
@@ -34,6 +34,7 @@
     }
 
     virtual const char * getType(){ return "geometry_msgs/Transform"; };
+    virtual const char * getMD5(){ return "ac9eff44abf714214112b05d54a3cf9b"; };
 
   };