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: mbed
ExecFootstepsGoal.h
00001 #ifndef _ROS_jsk_footstep_msgs_ExecFootstepsGoal_h 00002 #define _ROS_jsk_footstep_msgs_ExecFootstepsGoal_h 00003 00004 #include <stdint.h> 00005 #include <string.h> 00006 #include <stdlib.h> 00007 #include "ros/msg.h" 00008 #include "jsk_footstep_msgs/FootstepArray.h" 00009 00010 namespace jsk_footstep_msgs 00011 { 00012 00013 class ExecFootstepsGoal : public ros::Msg 00014 { 00015 public: 00016 typedef jsk_footstep_msgs::FootstepArray _footstep_type; 00017 _footstep_type footstep; 00018 typedef uint8_t _strategy_type; 00019 _strategy_type strategy; 00020 enum { NEW_TARGET = 0 }; 00021 enum { RESUME = 1 }; 00022 00023 ExecFootstepsGoal(): 00024 footstep(), 00025 strategy(0) 00026 { 00027 } 00028 00029 virtual int serialize(unsigned char *outbuffer) const 00030 { 00031 int offset = 0; 00032 offset += this->footstep.serialize(outbuffer + offset); 00033 *(outbuffer + offset + 0) = (this->strategy >> (8 * 0)) & 0xFF; 00034 offset += sizeof(this->strategy); 00035 return offset; 00036 } 00037 00038 virtual int deserialize(unsigned char *inbuffer) 00039 { 00040 int offset = 0; 00041 offset += this->footstep.deserialize(inbuffer + offset); 00042 this->strategy = ((uint8_t) (*(inbuffer + offset))); 00043 offset += sizeof(this->strategy); 00044 return offset; 00045 } 00046 00047 virtual const char * getType(){ return "jsk_footstep_msgs/ExecFootstepsGoal"; }; 00048 virtual const char * getMD5(){ return "bb8b96be7f0085372e05a467f65017bb"; }; 00049 00050 }; 00051 00052 } 00053 #endif
Generated on Mon Sep 26 2022 13:47:00 by
