Robsonema - Nucleo Master FM

Dependencies:   mbed ros_lib_melodic

Roslib/robsonema_service/Service_Kicker.h

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

File content as of revision 0:a4a02499a5f3:

#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