rosserial library for mbed Inspired by nucho's rosserial library This library is still under development
Dependents: mbed_roshydro_test
Library still under development!
Diff: industrial_msgs/StopMotion.h
- Revision:
- 0:30537dec6e0b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/industrial_msgs/StopMotion.h Sun Feb 15 10:53:43 2015 +0000 @@ -0,0 +1,76 @@ +#ifndef _ROS_SERVICE_StopMotion_h +#define _ROS_SERVICE_StopMotion_h +#include <stdint.h> +#include <string.h> +#include <stdlib.h> +#include "ros/msg.h" +#include "industrial_msgs/ServiceReturnCode.h" + +namespace industrial_msgs +{ + +static const char STOPMOTION[] = "industrial_msgs/StopMotion"; + + class StopMotionRequest : public ros::Msg + { + public: + + StopMotionRequest() + { + } + + 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 STOPMOTION; }; + const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; }; + + }; + + class StopMotionResponse : public ros::Msg + { + public: + industrial_msgs::ServiceReturnCode code; + + StopMotionResponse(): + 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 STOPMOTION; }; + const char * getMD5(){ return "50b1f38f75f5677e5692f3b3e7e1ea48"; }; + + }; + + class StopMotion { + public: + typedef StopMotionRequest Request; + typedef StopMotionResponse Response; + }; + +} +#endif +