catchrobo2022 mbed LPC1768 メインプログラム
Dependencies: mbed
MoveObject.h
00001 #ifndef _ROS_jsk_interactive_marker_MoveObject_h 00002 #define _ROS_jsk_interactive_marker_MoveObject_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 MoveObject : public ros::Msg 00015 { 00016 public: 00017 typedef geometry_msgs::PoseStamped _origin_type; 00018 _origin_type origin; 00019 typedef geometry_msgs::PoseStamped _goal_type; 00020 _goal_type goal; 00021 typedef geometry_msgs::Pose _graspPose_type; 00022 _graspPose_type graspPose; 00023 00024 MoveObject(): 00025 origin(), 00026 goal(), 00027 graspPose() 00028 { 00029 } 00030 00031 virtual int serialize(unsigned char *outbuffer) const 00032 { 00033 int offset = 0; 00034 offset += this->origin.serialize(outbuffer + offset); 00035 offset += this->goal.serialize(outbuffer + offset); 00036 offset += this->graspPose.serialize(outbuffer + offset); 00037 return offset; 00038 } 00039 00040 virtual int deserialize(unsigned char *inbuffer) 00041 { 00042 int offset = 0; 00043 offset += this->origin.deserialize(inbuffer + offset); 00044 offset += this->goal.deserialize(inbuffer + offset); 00045 offset += this->graspPose.deserialize(inbuffer + offset); 00046 return offset; 00047 } 00048 00049 virtual const char * getType(){ return "jsk_interactive_marker/MoveObject"; }; 00050 virtual const char * getMD5(){ return "398be7a942bfa9cfc119a5f96e3dc37a"; }; 00051 00052 }; 00053 00054 } 00055 #endif
Generated on Mon Sep 26 2022 13:47:02 by
1.7.2