Gary Servin / ros_lib_indigo

Dependencies:   BufferedSerial

Dependents:   rosserial_mbed_hello_world_publisher rtos_base_control rosserial_mbed_F64MA ROS-RTOS ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers GripperCommandGoal.h Source File

GripperCommandGoal.h

00001 #ifndef _ROS_control_msgs_GripperCommandGoal_h
00002 #define _ROS_control_msgs_GripperCommandGoal_h
00003 
00004 #include <stdint.h>
00005 #include <string.h>
00006 #include <stdlib.h>
00007 #include "ros/msg.h"
00008 #include "control_msgs/GripperCommand.h"
00009 
00010 namespace control_msgs
00011 {
00012 
00013   class GripperCommandGoal : public ros::Msg
00014   {
00015     public:
00016       control_msgs::GripperCommand command;
00017 
00018     GripperCommandGoal():
00019       command()
00020     {
00021     }
00022 
00023     virtual int serialize(unsigned char *outbuffer) const
00024     {
00025       int offset = 0;
00026       offset += this->command.serialize(outbuffer + offset);
00027       return offset;
00028     }
00029 
00030     virtual int deserialize(unsigned char *inbuffer)
00031     {
00032       int offset = 0;
00033       offset += this->command.deserialize(inbuffer + offset);
00034      return offset;
00035     }
00036 
00037     const char * getType(){ return "control_msgs/GripperCommandGoal"; };
00038     const char * getMD5(){ return "86fd82f4ddc48a4cb6856cfa69217e43"; };
00039 
00040   };
00041 
00042 }
00043 #endif