rosserial library for mbed Inspired by nucho's rosserial library This library is still under development

Dependencies:   MODSERIAL mbed

Dependents:   mbed_roshydro_test

Library still under development!

industrial_msgs/CmdJointTrajectory.h

Committer:
akashvibhute
Date:
2015-02-15
Revision:
0:30537dec6e0b

File content as of revision 0:30537dec6e0b:

#ifndef _ROS_SERVICE_CmdJointTrajectory_h
#define _ROS_SERVICE_CmdJointTrajectory_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
#include "trajectory_msgs/JointTrajectory.h"
#include "industrial_msgs/ServiceReturnCode.h"

namespace industrial_msgs
{

static const char CMDJOINTTRAJECTORY[] = "industrial_msgs/CmdJointTrajectory";

  class CmdJointTrajectoryRequest : public ros::Msg
  {
    public:
      trajectory_msgs::JointTrajectory trajectory;

    CmdJointTrajectoryRequest():
      trajectory()
    {
    }

    virtual int serialize(unsigned char *outbuffer) const
    {
      int offset = 0;
      offset += this->trajectory.serialize(outbuffer + offset);
      return offset;
    }

    virtual int deserialize(unsigned char *inbuffer)
    {
      int offset = 0;
      offset += this->trajectory.deserialize(inbuffer + offset);
     return offset;
    }

    const char * getType(){ return CMDJOINTTRAJECTORY; };
    const char * getMD5(){ return "2a0eff76c870e8595636c2a562ca298e"; };

  };

  class CmdJointTrajectoryResponse : public ros::Msg
  {
    public:
      industrial_msgs::ServiceReturnCode code;

    CmdJointTrajectoryResponse():
      code()
    {
    }

    virtual int serialize(unsigned char *outbuffer) const
    {
      int offset = 0;
      offset += this->code.serialize(outbuffer + offset);
      return offset;
    }

    virtual int deserialize(unsigned char *inbuffer)
    {
      int offset = 0;
      offset += this->code.deserialize(inbuffer + offset);
     return offset;
    }

    const char * getType(){ return CMDJOINTTRAJECTORY; };
    const char * getMD5(){ return "50b1f38f75f5677e5692f3b3e7e1ea48"; };

  };

  class CmdJointTrajectory {
    public:
    typedef CmdJointTrajectoryRequest Request;
    typedef CmdJointTrajectoryResponse Response;
  };

}
#endif