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 JointTrajectoryGoal.h Source File

JointTrajectoryGoal.h

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