Just changed OUTPUT_SIZE and INPUT_SIZE in ros/node_handle.h

Dependencies:   BufferedSerial

Dependents:   WRS2020_mecanum_node

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ReloadControllerLibraries.h Source File

ReloadControllerLibraries.h

00001 #ifndef _ROS_SERVICE_ReloadControllerLibraries_h
00002 #define _ROS_SERVICE_ReloadControllerLibraries_h
00003 #include <stdint.h>
00004 #include <string.h>
00005 #include <stdlib.h>
00006 #include "ros/msg.h"
00007 
00008 namespace controller_manager_msgs
00009 {
00010 
00011 static const char RELOADCONTROLLERLIBRARIES[] = "controller_manager_msgs/ReloadControllerLibraries";
00012 
00013   class ReloadControllerLibrariesRequest : public ros::Msg
00014   {
00015     public:
00016       typedef bool _force_kill_type;
00017       _force_kill_type force_kill;
00018 
00019     ReloadControllerLibrariesRequest():
00020       force_kill(0)
00021     {
00022     }
00023 
00024     virtual int serialize(unsigned char *outbuffer) const
00025     {
00026       int offset = 0;
00027       union {
00028         bool real;
00029         uint8_t base;
00030       } u_force_kill;
00031       u_force_kill.real = this->force_kill;
00032       *(outbuffer + offset + 0) = (u_force_kill.base >> (8 * 0)) & 0xFF;
00033       offset += sizeof(this->force_kill);
00034       return offset;
00035     }
00036 
00037     virtual int deserialize(unsigned char *inbuffer)
00038     {
00039       int offset = 0;
00040       union {
00041         bool real;
00042         uint8_t base;
00043       } u_force_kill;
00044       u_force_kill.base = 0;
00045       u_force_kill.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0);
00046       this->force_kill = u_force_kill.real;
00047       offset += sizeof(this->force_kill);
00048      return offset;
00049     }
00050 
00051     const char * getType(){ return RELOADCONTROLLERLIBRARIES; };
00052     const char * getMD5(){ return "18442b59be9479097f11c543bddbac62"; };
00053 
00054   };
00055 
00056   class ReloadControllerLibrariesResponse : public ros::Msg
00057   {
00058     public:
00059       typedef bool _ok_type;
00060       _ok_type ok;
00061 
00062     ReloadControllerLibrariesResponse():
00063       ok(0)
00064     {
00065     }
00066 
00067     virtual int serialize(unsigned char *outbuffer) const
00068     {
00069       int offset = 0;
00070       union {
00071         bool real;
00072         uint8_t base;
00073       } u_ok;
00074       u_ok.real = this->ok;
00075       *(outbuffer + offset + 0) = (u_ok.base >> (8 * 0)) & 0xFF;
00076       offset += sizeof(this->ok);
00077       return offset;
00078     }
00079 
00080     virtual int deserialize(unsigned char *inbuffer)
00081     {
00082       int offset = 0;
00083       union {
00084         bool real;
00085         uint8_t base;
00086       } u_ok;
00087       u_ok.base = 0;
00088       u_ok.base |= ((uint8_t) (*(inbuffer + offset + 0))) << (8 * 0);
00089       this->ok = u_ok.real;
00090       offset += sizeof(this->ok);
00091      return offset;
00092     }
00093 
00094     const char * getType(){ return RELOADCONTROLLERLIBRARIES; };
00095     const char * getMD5(){ return "6f6da3883749771fac40d6deb24a8c02"; };
00096 
00097   };
00098 
00099   class ReloadControllerLibraries {
00100     public:
00101     typedef ReloadControllerLibrariesRequest Request;
00102     typedef ReloadControllerLibrariesResponse Response;
00103   };
00104 
00105 }
00106 #endif