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