catchrobo2022 / Mbed 2 deprecated catchrobo2022_mbed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SnapFootPrintInput.h Source File

SnapFootPrintInput.h

00001 #ifndef _ROS_jsk_interactive_marker_SnapFootPrintInput_h
00002 #define _ROS_jsk_interactive_marker_SnapFootPrintInput_h
00003 
00004 #include <stdint.h>
00005 #include <string.h>
00006 #include <stdlib.h>
00007 #include "ros/msg.h"
00008 #include "geometry_msgs/PoseStamped.h"
00009 #include "geometry_msgs/Pose.h"
00010 
00011 namespace jsk_interactive_marker
00012 {
00013 
00014   class SnapFootPrintInput : public ros::Msg
00015   {
00016     public:
00017       typedef geometry_msgs::PoseStamped _input_pose_type;
00018       _input_pose_type input_pose;
00019       typedef geometry_msgs::Pose _lleg_pose_type;
00020       _lleg_pose_type lleg_pose;
00021       typedef geometry_msgs::Pose _rleg_pose_type;
00022       _rleg_pose_type rleg_pose;
00023 
00024     SnapFootPrintInput():
00025       input_pose(),
00026       lleg_pose(),
00027       rleg_pose()
00028     {
00029     }
00030 
00031     virtual int serialize(unsigned char *outbuffer) const
00032     {
00033       int offset = 0;
00034       offset += this->input_pose.serialize(outbuffer + offset);
00035       offset += this->lleg_pose.serialize(outbuffer + offset);
00036       offset += this->rleg_pose.serialize(outbuffer + offset);
00037       return offset;
00038     }
00039 
00040     virtual int deserialize(unsigned char *inbuffer)
00041     {
00042       int offset = 0;
00043       offset += this->input_pose.deserialize(inbuffer + offset);
00044       offset += this->lleg_pose.deserialize(inbuffer + offset);
00045       offset += this->rleg_pose.deserialize(inbuffer + offset);
00046      return offset;
00047     }
00048 
00049     virtual const char * getType(){ return "jsk_interactive_marker/SnapFootPrintInput"; };
00050     virtual const char * getMD5(){ return "07fc9b79352f12bc13742f589662de86"; };
00051 
00052   };
00053 
00054 }
00055 #endif