Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
BoundingBoxQuery.h
00001 #ifndef _ROS_SERVICE_BoundingBoxQuery_h 00002 #define _ROS_SERVICE_BoundingBoxQuery_h 00003 #include <stdint.h> 00004 #include <string.h> 00005 #include <stdlib.h> 00006 #include "ros/msg.h" 00007 #include "geometry_msgs/Point.h" 00008 00009 namespace octomap_msgs 00010 { 00011 00012 static const char BOUNDINGBOXQUERY[] = "octomap_msgs/BoundingBoxQuery"; 00013 00014 class BoundingBoxQueryRequest : public ros::Msg 00015 { 00016 public: 00017 typedef geometry_msgs::Point _min_type; 00018 _min_type min; 00019 typedef geometry_msgs::Point _max_type; 00020 _max_type max; 00021 00022 BoundingBoxQueryRequest(): 00023 min(), 00024 max() 00025 { 00026 } 00027 00028 virtual int serialize(unsigned char *outbuffer) const 00029 { 00030 int offset = 0; 00031 offset += this->min.serialize(outbuffer + offset); 00032 offset += this->max.serialize(outbuffer + offset); 00033 return offset; 00034 } 00035 00036 virtual int deserialize(unsigned char *inbuffer) 00037 { 00038 int offset = 0; 00039 offset += this->min.deserialize(inbuffer + offset); 00040 offset += this->max.deserialize(inbuffer + offset); 00041 return offset; 00042 } 00043 00044 virtual const char * getType(){ return BOUNDINGBOXQUERY; }; 00045 virtual const char * getMD5(){ return "93aa3d73b866f04880927745f4aab303"; }; 00046 00047 }; 00048 00049 class BoundingBoxQueryResponse : public ros::Msg 00050 { 00051 public: 00052 00053 BoundingBoxQueryResponse() 00054 { 00055 } 00056 00057 virtual int serialize(unsigned char *outbuffer) const 00058 { 00059 int offset = 0; 00060 return offset; 00061 } 00062 00063 virtual int deserialize(unsigned char *inbuffer) 00064 { 00065 int offset = 0; 00066 return offset; 00067 } 00068 00069 virtual const char * getType(){ return BOUNDINGBOXQUERY; }; 00070 virtual const char * getMD5(){ return "d41d8cd98f00b204e9800998ecf8427e"; }; 00071 00072 }; 00073 00074 class BoundingBoxQuery { 00075 public: 00076 typedef BoundingBoxQueryRequest Request; 00077 typedef BoundingBoxQueryResponse Response; 00078 }; 00079 00080 } 00081 #endif
Generated on Mon Sep 26 2022 13:47:00 by
