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.
AveragingActionGoal.h
00001 #ifndef _ROS_actionlib_tutorials_AveragingActionGoal_h 00002 #define _ROS_actionlib_tutorials_AveragingActionGoal_h 00003 00004 #include <stdint.h> 00005 #include <string.h> 00006 #include <stdlib.h> 00007 #include "ros/msg.h" 00008 #include "std_msgs/Header.h" 00009 #include "actionlib_msgs/GoalID.h" 00010 #include "actionlib_tutorials/AveragingGoal.h" 00011 00012 namespace actionlib_tutorials 00013 { 00014 00015 class AveragingActionGoal : public ros::Msg 00016 { 00017 public: 00018 typedef std_msgs::Header _header_type; 00019 _header_type header; 00020 typedef actionlib_msgs::GoalID _goal_id_type; 00021 _goal_id_type goal_id; 00022 typedef actionlib_tutorials::AveragingGoal _goal_type; 00023 _goal_type goal; 00024 00025 AveragingActionGoal(): 00026 header(), 00027 goal_id(), 00028 goal() 00029 { 00030 } 00031 00032 virtual int serialize(unsigned char *outbuffer) const 00033 { 00034 int offset = 0; 00035 offset += this->header.serialize(outbuffer + offset); 00036 offset += this->goal_id.serialize(outbuffer + offset); 00037 offset += this->goal.serialize(outbuffer + offset); 00038 return offset; 00039 } 00040 00041 virtual int deserialize(unsigned char *inbuffer) 00042 { 00043 int offset = 0; 00044 offset += this->header.deserialize(inbuffer + offset); 00045 offset += this->goal_id.deserialize(inbuffer + offset); 00046 offset += this->goal.deserialize(inbuffer + offset); 00047 return offset; 00048 } 00049 00050 const char * getType(){ return "actionlib_tutorials/AveragingActionGoal"; }; 00051 const char * getMD5(){ return "1561825b734ebd6039851c501e3fb570"; }; 00052 00053 }; 00054 00055 } 00056 #endif
Generated on Wed Jul 13 2022 23:30:17 by
