ElevationGrid.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-tu-darmstadt-ros-pkg/doc_stacks/2013-07-15_16-41-51.015503/hector_navigation/hector_elevation_msgs/msg/ElevationGrid.msg */
00002 #ifndef HECTOR_ELEVATION_MSGS_MESSAGE_ELEVATIONGRID_H
00003 #define HECTOR_ELEVATION_MSGS_MESSAGE_ELEVATIONGRID_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 "std_msgs/Header.h"
00018 #include "hector_elevation_msgs/ElevationMapMetaData.h"
00019 
00020 namespace hector_elevation_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct ElevationGrid_ {
00024   typedef ElevationGrid_<ContainerAllocator> Type;
00025 
00026   ElevationGrid_()
00027   : header()
00028   , info()
00029   , data()
00030   {
00031   }
00032 
00033   ElevationGrid_(const ContainerAllocator& _alloc)
00034   : header(_alloc)
00035   , info(_alloc)
00036   , data(_alloc)
00037   {
00038   }
00039 
00040   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00041    ::std_msgs::Header_<ContainerAllocator>  header;
00042 
00043   typedef  ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator>  _info_type;
00044    ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator>  info;
00045 
00046   typedef std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >  _data_type;
00047   std::vector<int16_t, typename ContainerAllocator::template rebind<int16_t>::other >  data;
00048 
00049 
00050   typedef boost::shared_ptr< ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct ElevationGrid
00054 typedef  ::hector_elevation_msgs::ElevationGrid_<std::allocator<void> > ElevationGrid;
00055 
00056 typedef boost::shared_ptr< ::hector_elevation_msgs::ElevationGrid> ElevationGridPtr;
00057 typedef boost::shared_ptr< ::hector_elevation_msgs::ElevationGrid const> ElevationGridConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace hector_elevation_msgs
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "13f6dd2a4434f89ebecd8bfafa38cdf1";
00079   }
00080 
00081   static const char* value(const  ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0x13f6dd2a4434f89eULL;
00083   static const uint64_t static_value2 = 0xbecd8bfafa38cdf1ULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "hector_elevation_msgs/ElevationGrid";
00091   }
00092 
00093   static const char* value(const  ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "# This represents a 2-D grid map, in which each cell represents the elevation.\n\
00101 \n\
00102 Header header \n\
00103 \n\
00104 #MetaData for the map\n\
00105 ElevationMapMetaData info\n\
00106 \n\
00107 # The map data, in row-major order, starting with (0,0).  Elevation values \n\
00108 # are in the range [0,32768].\n\
00109 # -> 0 belongs to max negative elevation, 32767 to max positive elevation, \"elevation_zero_level\" coresponds to zero, -elevation_zero_level to unknown elevation\n\
00110 int16[] data\n\
00111 \n\
00112 ================================================================================\n\
00113 MSG: std_msgs/Header\n\
00114 # Standard metadata for higher-level stamped data types.\n\
00115 # This is generally used to communicate timestamped data \n\
00116 # in a particular coordinate frame.\n\
00117 # \n\
00118 # sequence ID: consecutively increasing ID \n\
00119 uint32 seq\n\
00120 #Two-integer timestamp that is expressed as:\n\
00121 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00122 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00123 # time-handling sugar is provided by the client library\n\
00124 time stamp\n\
00125 #Frame this data is associated with\n\
00126 # 0: no frame\n\
00127 # 1: global frame\n\
00128 string frame_id\n\
00129 \n\
00130 ================================================================================\n\
00131 MSG: hector_elevation_msgs/ElevationMapMetaData\n\
00132 # This hold basic information about the characterists of the EvaluationGrid\n\
00133 \n\
00134 # The time at which the map was loaded\n\
00135 time map_load_time\n\
00136 # Map resolution in xy plane [m/cell]\n\
00137 float64 resolution_xy\n\
00138 # Map resolution in height [m/cell]\n\
00139 float64 resolution_z\n\
00140 # min observed height [m]\n\
00141 float64 min_elevation\n\
00142 # max observed height [m]\n\
00143 float64 max_elevation\n\
00144 # Height zero value. For example 16384.\n\
00145 int16 zero_elevation\n\
00146 # Map width [cells]\n\
00147 uint32 width\n\
00148 # Map height [cells]\n\
00149 uint32 height\n\
00150 # The origin of the map [m, m, rad].  This is the real-world pose of the\n\
00151 # cell (0,0) in the map.\n\
00152 geometry_msgs/Pose origin\n\
00153 \n\
00154 \n\
00155 \n\
00156 ================================================================================\n\
00157 MSG: geometry_msgs/Pose\n\
00158 # A representation of pose in free space, composed of postion and orientation. \n\
00159 Point position\n\
00160 Quaternion orientation\n\
00161 \n\
00162 ================================================================================\n\
00163 MSG: geometry_msgs/Point\n\
00164 # This contains the position of a point in free space\n\
00165 float64 x\n\
00166 float64 y\n\
00167 float64 z\n\
00168 \n\
00169 ================================================================================\n\
00170 MSG: geometry_msgs/Quaternion\n\
00171 # This represents an orientation in free space in quaternion form.\n\
00172 \n\
00173 float64 x\n\
00174 float64 y\n\
00175 float64 z\n\
00176 float64 w\n\
00177 \n\
00178 ";
00179   }
00180 
00181   static const char* value(const  ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> &) { return value(); } 
00182 };
00183 
00184 template<class ContainerAllocator> struct HasHeader< ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> > : public TrueType {};
00185 template<class ContainerAllocator> struct HasHeader< const ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> > : public TrueType {};
00186 } // namespace message_traits
00187 } // namespace ros
00188 
00189 namespace ros
00190 {
00191 namespace serialization
00192 {
00193 
00194 template<class ContainerAllocator> struct Serializer< ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> >
00195 {
00196   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00197   {
00198     stream.next(m.header);
00199     stream.next(m.info);
00200     stream.next(m.data);
00201   }
00202 
00203   ROS_DECLARE_ALLINONE_SERIALIZER;
00204 }; // struct ElevationGrid_
00205 } // namespace serialization
00206 } // namespace ros
00207 
00208 namespace ros
00209 {
00210 namespace message_operations
00211 {
00212 
00213 template<class ContainerAllocator>
00214 struct Printer< ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> >
00215 {
00216   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::hector_elevation_msgs::ElevationGrid_<ContainerAllocator> & v) 
00217   {
00218     s << indent << "header: ";
00219 s << std::endl;
00220     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00221     s << indent << "info: ";
00222 s << std::endl;
00223     Printer< ::hector_elevation_msgs::ElevationMapMetaData_<ContainerAllocator> >::stream(s, indent + "  ", v.info);
00224     s << indent << "data[]" << std::endl;
00225     for (size_t i = 0; i < v.data.size(); ++i)
00226     {
00227       s << indent << "  data[" << i << "]: ";
00228       Printer<int16_t>::stream(s, indent + "  ", v.data[i]);
00229     }
00230   }
00231 };
00232 
00233 
00234 } // namespace message_operations
00235 } // namespace ros
00236 
00237 #endif // HECTOR_ELEVATION_MSGS_MESSAGE_ELEVATIONGRID_H
00238 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


hector_elevation_msgs
Author(s): Thorsten Graber
autogenerated on Mon Jul 15 2013 16:49:44