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