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.
Fork of rosserial_mbed_lib by
geometry_msgs/PoseStamped.h
- Committer:
- nucho
- Date:
- 2011-08-19
- Revision:
- 0:77afd7560544
- Child:
- 1:ff0ec969dad1
File content as of revision 0:77afd7560544:
#ifndef ros_PoseStamped_h #define ros_PoseStamped_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "../ros/msg.h" #include "std_msgs/Header.h" #include "geometry_msgs/Pose.h" namespace geometry_msgs { class PoseStamped : public ros::Msg { public: std_msgs::Header header; geometry_msgs::Pose pose; virtual int serialize(unsigned char *outbuffer) { int offset = 0; offset += this->header.serialize(outbuffer + offset); offset += this->pose.serialize(outbuffer + offset); return offset; } virtual int deserialize(unsigned char *inbuffer) { int offset = 0; offset += this->header.deserialize(inbuffer + offset); offset += this->pose.deserialize(inbuffer + offset); return offset; } virtual const char * getType(){ return "geometry_msgs/PoseStamped"; }; }; } #endif