Robsonema - Nucleo Master FM
Dependencies: mbed ros_lib_melodic
Diff: Roslib/robsonema_service/Service_Kicker.h
- Revision:
- 0:a4a02499a5f3
diff -r 000000000000 -r a4a02499a5f3 Roslib/robsonema_service/Service_Kicker.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Roslib/robsonema_service/Service_Kicker.h Mon Oct 26 22:25:16 2020 +0000 @@ -0,0 +1,76 @@ +#ifndef _ROS_SERVICE_Service_Kicker_h +#define _ROS_SERVICE_Service_Kicker_h +#include <stdint.h> +#include <string.h> +#include <stdlib.h> +#include "ros/msg.h" +#include "std_msgs/Float32.h" + +namespace robsonema_service +{ + +static const char SERVICE_KICKER[] = "robsonema_service/Service_Kicker"; + + class Service_KickerRequest : public ros::Msg + { + public: + typedef std_msgs::Float32 _kick_speed_type; + _kick_speed_type kick_speed; + + Service_KickerRequest(): + kick_speed() + { + } + + virtual int serialize(unsigned char *outbuffer) const + { + int offset = 0; + offset += this->kick_speed.serialize(outbuffer + offset); + return offset; + } + + virtual int deserialize(unsigned char *inbuffer) + { + int offset = 0; + offset += this->kick_speed.deserialize(inbuffer + offset); + return offset; + } + + const char * getType(){ return SERVICE_KICKER; }; + const char * getMD5(){ return "867966d58be95fe06d929f8b7df2e39f"; }; + + }; + + class Service_KickerResponse : public ros::Msg + { + public: + + Service_KickerResponse() + { + } + + virtual int serialize(unsigned char *outbuffer) const + { + int offset = 0; + return offset; + } + + virtual int deserialize(unsigned char *inbuffer) + { + int offset = 0; + return offset; + } + + const char * getType(){ return SERVICE_KICKER; }; + const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; }; + + }; + + class Service_Kicker { + public: + typedef Service_KickerRequest Request; + typedef Service_KickerResponse Response; + }; + +} +#endif \ No newline at end of file