Robsonema - Nucleo Master FM

Dependencies:   mbed ros_lib_melodic

Roslib/robsonema_service/Service_Setpoint.h

Committer:
jazulienux
Date:
2020-10-26
Revision:
0:a4a02499a5f3

File content as of revision 0:a4a02499a5f3:

#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