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: moveit_msgs/WorkspaceParameters.h
- Revision:
- 0:30537dec6e0b
diff -r 000000000000 -r 30537dec6e0b moveit_msgs/WorkspaceParameters.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/moveit_msgs/WorkspaceParameters.h Sun Feb 15 10:53:43 2015 +0000 @@ -0,0 +1,52 @@ +#ifndef _ROS_moveit_msgs_WorkspaceParameters_h +#define _ROS_moveit_msgs_WorkspaceParameters_h + +#include <stdint.h> +#include <string.h> +#include <stdlib.h> +#include "ros/msg.h" +#include "std_msgs/Header.h" +#include "geometry_msgs/Vector3.h" + +namespace moveit_msgs +{ + + class WorkspaceParameters : public ros::Msg + { + public: + std_msgs::Header header; + geometry_msgs::Vector3 min_corner; + geometry_msgs::Vector3 max_corner; + + WorkspaceParameters(): + header(), + min_corner(), + max_corner() + { + } + + virtual int serialize(unsigned char *outbuffer) const + { + int offset = 0; + offset += this->header.serialize(outbuffer + offset); + offset += this->min_corner.serialize(outbuffer + offset); + offset += this->max_corner.serialize(outbuffer + offset); + return offset; + } + + virtual int deserialize(unsigned char *inbuffer) + { + int offset = 0; + offset += this->header.deserialize(inbuffer + offset); + offset += this->min_corner.deserialize(inbuffer + offset); + offset += this->max_corner.deserialize(inbuffer + offset); + return offset; + } + + const char * getType(){ return "moveit_msgs/WorkspaceParameters"; }; + const char * getMD5(){ return "d639a834e7b1f927e9f1d6c30e920016"; }; + + }; + +} +#endif