catchrobo2022 / Mbed 2 deprecated catchrobo2022_mbed

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers BoundingBoxMovement.h Source File

BoundingBoxMovement.h

00001 #ifndef _ROS_jsk_recognition_msgs_BoundingBoxMovement_h
00002 #define _ROS_jsk_recognition_msgs_BoundingBoxMovement_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 "jsk_recognition_msgs/BoundingBox.h"
00010 #include "geometry_msgs/Pose.h"
00011 #include "geometry_msgs/PoseStamped.h"
00012 
00013 namespace jsk_recognition_msgs
00014 {
00015 
00016   class BoundingBoxMovement : public ros::Msg
00017   {
00018     public:
00019       typedef std_msgs::Header _header_type;
00020       _header_type header;
00021       typedef jsk_recognition_msgs::BoundingBox _box_type;
00022       _box_type box;
00023       typedef geometry_msgs::Pose _handle_pose_type;
00024       _handle_pose_type handle_pose;
00025       typedef geometry_msgs::PoseStamped _destination_type;
00026       _destination_type destination;
00027 
00028     BoundingBoxMovement():
00029       header(),
00030       box(),
00031       handle_pose(),
00032       destination()
00033     {
00034     }
00035 
00036     virtual int serialize(unsigned char *outbuffer) const
00037     {
00038       int offset = 0;
00039       offset += this->header.serialize(outbuffer + offset);
00040       offset += this->box.serialize(outbuffer + offset);
00041       offset += this->handle_pose.serialize(outbuffer + offset);
00042       offset += this->destination.serialize(outbuffer + offset);
00043       return offset;
00044     }
00045 
00046     virtual int deserialize(unsigned char *inbuffer)
00047     {
00048       int offset = 0;
00049       offset += this->header.deserialize(inbuffer + offset);
00050       offset += this->box.deserialize(inbuffer + offset);
00051       offset += this->handle_pose.deserialize(inbuffer + offset);
00052       offset += this->destination.deserialize(inbuffer + offset);
00053      return offset;
00054     }
00055 
00056     virtual const char * getType(){ return "jsk_recognition_msgs/BoundingBoxMovement"; };
00057     virtual const char * getMD5(){ return "60aeb288c030d1b8a67ddeedc91812f0"; };
00058 
00059   };
00060 
00061 }
00062 #endif