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.
Pose.h
00001 #ifndef _ROS_geometry_msgs_Pose_h 00002 #define _ROS_geometry_msgs_Pose_h 00003 00004 #include <stdint.h> 00005 #include <string.h> 00006 #include <stdlib.h> 00007 #include "ros/msg.h" 00008 #include "geometry_msgs/Point.h" 00009 #include "geometry_msgs/Quaternion.h" 00010 00011 namespace geometry_msgs 00012 { 00013 00014 class Pose : public ros::Msg 00015 { 00016 public: 00017 typedef geometry_msgs::Point _position_type; 00018 _position_type position; 00019 typedef geometry_msgs::Quaternion _orientation_type; 00020 _orientation_type orientation; 00021 00022 Pose(): 00023 position(), 00024 orientation() 00025 { 00026 } 00027 00028 virtual int serialize(unsigned char *outbuffer) const 00029 { 00030 int offset = 0; 00031 offset += this->position.serialize(outbuffer + offset); 00032 offset += this->orientation.serialize(outbuffer + offset); 00033 return offset; 00034 } 00035 00036 virtual int deserialize(unsigned char *inbuffer) 00037 { 00038 int offset = 0; 00039 offset += this->position.deserialize(inbuffer + offset); 00040 offset += this->orientation.deserialize(inbuffer + offset); 00041 return offset; 00042 } 00043 00044 const char * getType(){ return "geometry_msgs/Pose"; }; 00045 const char * getMD5(){ return "e45d45a5a1ce597b249e23fb30fc871f"; }; 00046 00047 }; 00048 00049 } 00050 #endif
Generated on Wed Jul 13 2022 23:30:18 by
