No description

Dependencies:   BufferedSerial

Committer:
Anaph
Date:
Mon Mar 30 22:15:01 2020 +0000
Revision:
3:d7bea56ad88b
Parent:
0:9e9b7db60fd5
No description

Who changed what in which revision?

UserRevisionLine numberNew contents of line
garyservin 0:9e9b7db60fd5 1 #ifndef _ROS_SERVICE_Reconfigure_h
garyservin 0:9e9b7db60fd5 2 #define _ROS_SERVICE_Reconfigure_h
garyservin 0:9e9b7db60fd5 3 #include <stdint.h>
garyservin 0:9e9b7db60fd5 4 #include <string.h>
garyservin 0:9e9b7db60fd5 5 #include <stdlib.h>
garyservin 0:9e9b7db60fd5 6 #include "ros/msg.h"
garyservin 0:9e9b7db60fd5 7 #include "dynamic_reconfigure/Config.h"
garyservin 0:9e9b7db60fd5 8
garyservin 0:9e9b7db60fd5 9 namespace dynamic_reconfigure
garyservin 0:9e9b7db60fd5 10 {
garyservin 0:9e9b7db60fd5 11
garyservin 0:9e9b7db60fd5 12 static const char RECONFIGURE[] = "dynamic_reconfigure/Reconfigure";
garyservin 0:9e9b7db60fd5 13
garyservin 0:9e9b7db60fd5 14 class ReconfigureRequest : public ros::Msg
garyservin 0:9e9b7db60fd5 15 {
garyservin 0:9e9b7db60fd5 16 public:
garyservin 0:9e9b7db60fd5 17 typedef dynamic_reconfigure::Config _config_type;
garyservin 0:9e9b7db60fd5 18 _config_type config;
garyservin 0:9e9b7db60fd5 19
garyservin 0:9e9b7db60fd5 20 ReconfigureRequest():
garyservin 0:9e9b7db60fd5 21 config()
garyservin 0:9e9b7db60fd5 22 {
garyservin 0:9e9b7db60fd5 23 }
garyservin 0:9e9b7db60fd5 24
garyservin 0:9e9b7db60fd5 25 virtual int serialize(unsigned char *outbuffer) const
garyservin 0:9e9b7db60fd5 26 {
garyservin 0:9e9b7db60fd5 27 int offset = 0;
garyservin 0:9e9b7db60fd5 28 offset += this->config.serialize(outbuffer + offset);
garyservin 0:9e9b7db60fd5 29 return offset;
garyservin 0:9e9b7db60fd5 30 }
garyservin 0:9e9b7db60fd5 31
garyservin 0:9e9b7db60fd5 32 virtual int deserialize(unsigned char *inbuffer)
garyservin 0:9e9b7db60fd5 33 {
garyservin 0:9e9b7db60fd5 34 int offset = 0;
garyservin 0:9e9b7db60fd5 35 offset += this->config.deserialize(inbuffer + offset);
garyservin 0:9e9b7db60fd5 36 return offset;
garyservin 0:9e9b7db60fd5 37 }
garyservin 0:9e9b7db60fd5 38
garyservin 0:9e9b7db60fd5 39 const char * getType(){ return RECONFIGURE; };
garyservin 0:9e9b7db60fd5 40 const char * getMD5(){ return "ac41a77620a4a0348b7001641796a8a1"; };
garyservin 0:9e9b7db60fd5 41
garyservin 0:9e9b7db60fd5 42 };
garyservin 0:9e9b7db60fd5 43
garyservin 0:9e9b7db60fd5 44 class ReconfigureResponse : public ros::Msg
garyservin 0:9e9b7db60fd5 45 {
garyservin 0:9e9b7db60fd5 46 public:
garyservin 0:9e9b7db60fd5 47 typedef dynamic_reconfigure::Config _config_type;
garyservin 0:9e9b7db60fd5 48 _config_type config;
garyservin 0:9e9b7db60fd5 49
garyservin 0:9e9b7db60fd5 50 ReconfigureResponse():
garyservin 0:9e9b7db60fd5 51 config()
garyservin 0:9e9b7db60fd5 52 {
garyservin 0:9e9b7db60fd5 53 }
garyservin 0:9e9b7db60fd5 54
garyservin 0:9e9b7db60fd5 55 virtual int serialize(unsigned char *outbuffer) const
garyservin 0:9e9b7db60fd5 56 {
garyservin 0:9e9b7db60fd5 57 int offset = 0;
garyservin 0:9e9b7db60fd5 58 offset += this->config.serialize(outbuffer + offset);
garyservin 0:9e9b7db60fd5 59 return offset;
garyservin 0:9e9b7db60fd5 60 }
garyservin 0:9e9b7db60fd5 61
garyservin 0:9e9b7db60fd5 62 virtual int deserialize(unsigned char *inbuffer)
garyservin 0:9e9b7db60fd5 63 {
garyservin 0:9e9b7db60fd5 64 int offset = 0;
garyservin 0:9e9b7db60fd5 65 offset += this->config.deserialize(inbuffer + offset);
garyservin 0:9e9b7db60fd5 66 return offset;
garyservin 0:9e9b7db60fd5 67 }
garyservin 0:9e9b7db60fd5 68
garyservin 0:9e9b7db60fd5 69 const char * getType(){ return RECONFIGURE; };
garyservin 0:9e9b7db60fd5 70 const char * getMD5(){ return "ac41a77620a4a0348b7001641796a8a1"; };
garyservin 0:9e9b7db60fd5 71
garyservin 0:9e9b7db60fd5 72 };
garyservin 0:9e9b7db60fd5 73
garyservin 0:9e9b7db60fd5 74 class Reconfigure {
garyservin 0:9e9b7db60fd5 75 public:
garyservin 0:9e9b7db60fd5 76 typedef ReconfigureRequest Request;
garyservin 0:9e9b7db60fd5 77 typedef ReconfigureResponse Response;
garyservin 0:9e9b7db60fd5 78 };
garyservin 0:9e9b7db60fd5 79
garyservin 0:9e9b7db60fd5 80 }
garyservin 0:9e9b7db60fd5 81 #endif