Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: rosserial_mbed_lib mbed Servo
Diff: geometry_msgs/Twist.h
- Revision:
- 3:dff241b66f84
- Parent:
- 1:098e75fd5ad2
diff -r 094e5153a559 -r dff241b66f84 geometry_msgs/Twist.h
--- a/geometry_msgs/Twist.h Sun Oct 16 09:33:53 2011 +0000
+++ b/geometry_msgs/Twist.h Sat Nov 12 23:53:04 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"; };
};