Robsonema - Nucleo Master FM
Dependencies: mbed ros_lib_melodic
Diff: Roslib/robsonema_service/Service_Setpoint.h
- Revision:
- 0:a4a02499a5f3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Roslib/robsonema_service/Service_Setpoint.h Mon Oct 26 22:25:16 2020 +0000 @@ -0,0 +1,76 @@ +#ifndef _ROS_SERVICE_Service_Setpoint_h +#define _ROS_SERVICE_Service_Setpoint_h +#include <stdint.h> +#include <string.h> +#include <stdlib.h> +#include "ros/msg.h" +#include "geometry_msgs/Quaternion.h" + +namespace robsonema_service +{ + +static const char SERVICE_SETPOINT[] = "robsonema_service/Service_Setpoint"; + + class Service_SetpointRequest : public ros::Msg + { + public: + typedef geometry_msgs::Quaternion _setpoint_type; + _setpoint_type setpoint; + + Service_SetpointRequest(): + setpoint() + { + } + + virtual int serialize(unsigned char *outbuffer) const + { + int offset = 0; + offset += this->setpoint.serialize(outbuffer + offset); + return offset; + } + + virtual int deserialize(unsigned char *inbuffer) + { + int offset = 0; + offset += this->setpoint.deserialize(inbuffer + offset); + return offset; + } + + const char * getType(){ return SERVICE_SETPOINT; }; + const char * getMD5(){ return "f79aadd993d02e3313c7a2909b0f4702"; }; + + }; + + class Service_SetpointResponse : public ros::Msg + { + public: + + Service_SetpointResponse() + { + } + + 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_SETPOINT; }; + const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; }; + + }; + + class Service_Setpoint { + public: + typedef Service_SetpointRequest Request; + typedef Service_SetpointResponse Response; + }; + +} +#endif \ No newline at end of file