It has only one change from original one. I added robotfeedback message on it.
Dependents: RobotFeedback mobileRobotITU
Fork of ros_lib_indigo by
Diff: opencv_apps/RotatedRectStamped.h
- Revision:
- 0:fd24f7ca9688
diff -r 000000000000 -r fd24f7ca9688 opencv_apps/RotatedRectStamped.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/opencv_apps/RotatedRectStamped.h Thu Mar 31 14:22:59 2016 +0000 @@ -0,0 +1,48 @@ +#ifndef _ROS_opencv_apps_RotatedRectStamped_h +#define _ROS_opencv_apps_RotatedRectStamped_h + +#include <stdint.h> +#include <string.h> +#include <stdlib.h> +#include "ros/msg.h" +#include "std_msgs/Header.h" +#include "opencv_apps/RotatedRect.h" + +namespace opencv_apps +{ + + class RotatedRectStamped : public ros::Msg + { + public: + std_msgs::Header header; + opencv_apps::RotatedRect rect; + + RotatedRectStamped(): + header(), + rect() + { + } + + virtual int serialize(unsigned char *outbuffer) const + { + int offset = 0; + offset += this->header.serialize(outbuffer + offset); + offset += this->rect.serialize(outbuffer + offset); + return offset; + } + + virtual int deserialize(unsigned char *inbuffer) + { + int offset = 0; + offset += this->header.deserialize(inbuffer + offset); + offset += this->rect.deserialize(inbuffer + offset); + return offset; + } + + const char * getType(){ return "opencv_apps/RotatedRectStamped"; }; + const char * getMD5(){ return "ba2d76a1968e4f77570c01223781fe15"; }; + + }; + +} +#endif \ No newline at end of file