00001
00002 #ifndef HECTOR_ELEVATION_MSGS_MESSAGE_ELEVATIONMAPMETADATA_H
00003 #define HECTOR_ELEVATION_MSGS_MESSAGE_ELEVATIONMAPMETADATA_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "geometry_msgs/Pose.h"
00018
00019 namespace hector_elevation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct ElevationMapMetaData_ {
00023 typedef ElevationMapMetaData_<ContainerAllocator> Type;
00024
00025 ElevationMapMetaData_()
00026 : map_load_time()
00027 , resolution_xy(0.0)
00028 , resolution_z(0.0)
00029 , min_elevation(0.0)
00030 , max_elevation(0.0)
00031 , zero_elevation(0)
00032 , width(0)
00033 , height(0)
00034 , origin()
00035 {
00036 }
00037
00038 ElevationMapMetaData_(const ContainerAllocator& _alloc)
00039 : map_load_time()
00040 , resolution_xy(0.0)
00041 , resolution_z(0.0)
00042 , min_elevation(0.0)
00043 , max_elevation(0.0)
00044 , zero_elevation(0)
00045 , width(0)
00046 , height(0)
00047 , origin(_alloc)
00048 {
00049 }
00050
00051 typedef ros::Time _map_load_time_type;
00052 ros::Time map_load_time;
00053
00054 typedef double _resolution_xy_type;
00055 double resolution_xy;
00056
00057 typedef double _resolution_z_type;
00058 double resolution_z;
00059
00060 typedef double _min_elevation_type;
00061 double min_elevation;
00062
00063 typedef double _max_elevation_type;
00064 double max_elevation;
00065
00066 typedef int16_t _zero_elevation_type;
00067 int16_t zero_elevation;
00068
00069 typedef uint32_t _width_type;
00070 uint32_t width;
00071
00072 typedef uint32_t _height_type;
00073 uint32_t height;
00074
00075 typedef ::geometry_msgs::Pose_<ContainerAllocator> _origin_type;
00076 ::geometry_msgs::Pose_<ContainerAllocator> origin;
00077
00078
00079 typedef boost::shared_ptr< ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> > Ptr;
00080 typedef boost::shared_ptr< ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> const> ConstPtr;
00081 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00082 };
00083 typedef ::hector_elevation_msgs::ElevationMapMetaData_<std::allocator<void> > ElevationMapMetaData;
00084
00085 typedef boost::shared_ptr< ::hector_elevation_msgs::ElevationMapMetaData> ElevationMapMetaDataPtr;
00086 typedef boost::shared_ptr< ::hector_elevation_msgs::ElevationMapMetaData const> ElevationMapMetaDataConstPtr;
00087
00088
00089 template<typename ContainerAllocator>
00090 std::ostream& operator<<(std::ostream& s, const ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> & v)
00091 {
00092 ros::message_operations::Printer< ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> >::stream(s, "", v);
00093 return s;}
00094
00095 }
00096
00097 namespace ros
00098 {
00099 namespace message_traits
00100 {
00101 template<class ContainerAllocator> struct IsMessage< ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> > : public TrueType {};
00102 template<class ContainerAllocator> struct IsMessage< ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> const> : public TrueType {};
00103 template<class ContainerAllocator>
00104 struct MD5Sum< ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> > {
00105 static const char* value()
00106 {
00107 return "6c887873faf3a1d55d884bdcc92b9241";
00108 }
00109
00110 static const char* value(const ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> &) { return value(); }
00111 static const uint64_t static_value1 = 0x6c887873faf3a1d5ULL;
00112 static const uint64_t static_value2 = 0x5d884bdcc92b9241ULL;
00113 };
00114
00115 template<class ContainerAllocator>
00116 struct DataType< ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> > {
00117 static const char* value()
00118 {
00119 return "hector_elevation_msgs/ElevationMapMetaData";
00120 }
00121
00122 static const char* value(const ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> &) { return value(); }
00123 };
00124
00125 template<class ContainerAllocator>
00126 struct Definition< ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> > {
00127 static const char* value()
00128 {
00129 return "# This hold basic information about the characterists of the EvaluationGrid\n\
00130 \n\
00131 # The time at which the map was loaded\n\
00132 time map_load_time\n\
00133 # Map resolution in xy plane [m/cell]\n\
00134 float64 resolution_xy\n\
00135 # Map resolution in height [m/cell]\n\
00136 float64 resolution_z\n\
00137 # min observed height [m]\n\
00138 float64 min_elevation\n\
00139 # max observed height [m]\n\
00140 float64 max_elevation\n\
00141 # Height zero value. For example 16384.\n\
00142 int16 zero_elevation\n\
00143 # Map width [cells]\n\
00144 uint32 width\n\
00145 # Map height [cells]\n\
00146 uint32 height\n\
00147 # The origin of the map [m, m, rad]. This is the real-world pose of the\n\
00148 # cell (0,0) in the map.\n\
00149 geometry_msgs/Pose origin\n\
00150 \n\
00151 \n\
00152 \n\
00153 ================================================================================\n\
00154 MSG: geometry_msgs/Pose\n\
00155 # A representation of pose in free space, composed of postion and orientation. \n\
00156 Point position\n\
00157 Quaternion orientation\n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: geometry_msgs/Point\n\
00161 # This contains the position of a point in free space\n\
00162 float64 x\n\
00163 float64 y\n\
00164 float64 z\n\
00165 \n\
00166 ================================================================================\n\
00167 MSG: geometry_msgs/Quaternion\n\
00168 # This represents an orientation in free space in quaternion form.\n\
00169 \n\
00170 float64 x\n\
00171 float64 y\n\
00172 float64 z\n\
00173 float64 w\n\
00174 \n\
00175 ";
00176 }
00177
00178 static const char* value(const ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> &) { return value(); }
00179 };
00180
00181 template<class ContainerAllocator> struct IsFixedSize< ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> > : public TrueType {};
00182 }
00183 }
00184
00185 namespace ros
00186 {
00187 namespace serialization
00188 {
00189
00190 template<class ContainerAllocator> struct Serializer< ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> >
00191 {
00192 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00193 {
00194 stream.next(m.map_load_time);
00195 stream.next(m.resolution_xy);
00196 stream.next(m.resolution_z);
00197 stream.next(m.min_elevation);
00198 stream.next(m.max_elevation);
00199 stream.next(m.zero_elevation);
00200 stream.next(m.width);
00201 stream.next(m.height);
00202 stream.next(m.origin);
00203 }
00204
00205 ROS_DECLARE_ALLINONE_SERIALIZER;
00206 };
00207 }
00208 }
00209
00210 namespace ros
00211 {
00212 namespace message_operations
00213 {
00214
00215 template<class ContainerAllocator>
00216 struct Printer< ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> >
00217 {
00218 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> & v)
00219 {
00220 s << indent << "map_load_time: ";
00221 Printer<ros::Time>::stream(s, indent + " ", v.map_load_time);
00222 s << indent << "resolution_xy: ";
00223 Printer<double>::stream(s, indent + " ", v.resolution_xy);
00224 s << indent << "resolution_z: ";
00225 Printer<double>::stream(s, indent + " ", v.resolution_z);
00226 s << indent << "min_elevation: ";
00227 Printer<double>::stream(s, indent + " ", v.min_elevation);
00228 s << indent << "max_elevation: ";
00229 Printer<double>::stream(s, indent + " ", v.max_elevation);
00230 s << indent << "zero_elevation: ";
00231 Printer<int16_t>::stream(s, indent + " ", v.zero_elevation);
00232 s << indent << "width: ";
00233 Printer<uint32_t>::stream(s, indent + " ", v.width);
00234 s << indent << "height: ";
00235 Printer<uint32_t>::stream(s, indent + " ", v.height);
00236 s << indent << "origin: ";
00237 s << std::endl;
00238 Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + " ", v.origin);
00239 }
00240 };
00241
00242
00243 }
00244 }
00245
00246 #endif // HECTOR_ELEVATION_MSGS_MESSAGE_ELEVATIONMAPMETADATA_H
00247