rosserial for Hydro
Fork of rosserial_mbed_lib by
Diff: geometry_msgs/Pose.h
- Revision:
- 3:1cf99502f396
- Parent:
- 1:ff0ec969dad1
diff -r bb6bb835fde4 -r 1cf99502f396 geometry_msgs/Pose.h --- a/geometry_msgs/Pose.h Sun Oct 16 09:35:11 2011 +0000 +++ b/geometry_msgs/Pose.h Sat Nov 12 23:54:45 2011 +0000 @@ -1,10 +1,10 @@ -#ifndef ros_geometry_msgs_Pose_h -#define ros_geometry_msgs_Pose_h +#ifndef _ROS_geometry_msgs_Pose_h +#define _ROS_geometry_msgs_Pose_h #include <stdint.h> #include <string.h> #include <stdlib.h> -#include "../ros/msg.h" +#include "ros/msg.h" #include "geometry_msgs/Point.h" #include "geometry_msgs/Quaternion.h" @@ -17,7 +17,7 @@ geometry_msgs::Point position; geometry_msgs::Quaternion orientation; - virtual int serialize(unsigned char *outbuffer) + virtual int serialize(unsigned char *outbuffer) const { int offset = 0; offset += this->position.serialize(outbuffer + offset); @@ -33,7 +33,8 @@ return offset; } - virtual virtual const char * getType(){ return "geometry_msgs/Pose"; }; + virtual const char * getType(){ return "geometry_msgs/Pose"; }; + virtual const char * getMD5(){ return "e45d45a5a1ce597b249e23fb30fc871f"; }; };