RangeArray.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-erratic_robot/doc_stacks/2013-12-28_16-55-23.065027/erratic_robot/erratic_player/msg/RangeArray.msg */
00002 #ifndef ERRATIC_PLAYER_MESSAGE_RANGEARRAY_H
00003 #define ERRATIC_PLAYER_MESSAGE_RANGEARRAY_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 "sensor_msgs/Range.h"
00018 
00019 namespace erratic_player
00020 {
00021 template <class ContainerAllocator>
00022 struct RangeArray_ {
00023   typedef RangeArray_<ContainerAllocator> Type;
00024 
00025   RangeArray_()
00026   : ranges()
00027   {
00028   }
00029 
00030   RangeArray_(const ContainerAllocator& _alloc)
00031   : ranges(_alloc)
00032   {
00033   }
00034 
00035   typedef std::vector< ::sensor_msgs::Range_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::Range_<ContainerAllocator> >::other >  _ranges_type;
00036   std::vector< ::sensor_msgs::Range_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::sensor_msgs::Range_<ContainerAllocator> >::other >  ranges;
00037 
00038 
00039   typedef boost::shared_ptr< ::erratic_player::RangeArray_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::erratic_player::RangeArray_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct RangeArray
00043 typedef  ::erratic_player::RangeArray_<std::allocator<void> > RangeArray;
00044 
00045 typedef boost::shared_ptr< ::erratic_player::RangeArray> RangeArrayPtr;
00046 typedef boost::shared_ptr< ::erratic_player::RangeArray const> RangeArrayConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::erratic_player::RangeArray_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::erratic_player::RangeArray_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace erratic_player
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::erratic_player::RangeArray_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::erratic_player::RangeArray_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::erratic_player::RangeArray_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "b72db098d4ed346ce682a1d5e70d327c";
00068   }
00069 
00070   static const char* value(const  ::erratic_player::RangeArray_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0xb72db098d4ed346cULL;
00072   static const uint64_t static_value2 = 0xe682a1d5e70d327cULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::erratic_player::RangeArray_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "erratic_player/RangeArray";
00080   }
00081 
00082   static const char* value(const  ::erratic_player::RangeArray_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::erratic_player::RangeArray_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "sensor_msgs/Range[] ranges\n\
00090 \n\
00091 ================================================================================\n\
00092 MSG: sensor_msgs/Range\n\
00093 # Single range reading from an active ranger that emits energy and reports\n\
00094 # one range reading that is valid along an arc at the distance measured. \n\
00095 # This message is not appropriate for fixed-range obstacle detectors, \n\
00096 # such as the Sharp GP2D15. This message is also not appropriate for laser \n\
00097 # scanners. See the LaserScan message if you are working with a laser scanner.\n\
00098 \n\
00099 Header header           # timestamp in the header is the time the ranger\n\
00100                         # returned the distance reading\n\
00101 \n\
00102 # Radiation type enums\n\
00103 # If you want a value added to this list, send an email to the ros-users list\n\
00104 uint8 ULTRASOUND=0\n\
00105 uint8 INFRARED=1\n\
00106 \n\
00107 uint8 radiation_type    # the type of radiation used by the sensor\n\
00108                         # (sound, IR, etc) [enum]\n\
00109 \n\
00110 float32 field_of_view   # the size of the arc that the distance reading is\n\
00111                         # valid for [rad]\n\
00112                         # the object causing the range reading may have\n\
00113                         # been anywhere within -field_of_view/2 and\n\
00114                         # field_of_view/2 at the measured range. \n\
00115                         # 0 angle corresponds to the x-axis of the sensor.\n\
00116 \n\
00117 float32 min_range       # minimum range value [m]\n\
00118 float32 max_range       # maximum range value [m]\n\
00119 \n\
00120 float32 range           # range data [m]\n\
00121                         # (Note: values < range_min or > range_max\n\
00122                         # should be discarded)\n\
00123 \n\
00124 ================================================================================\n\
00125 MSG: std_msgs/Header\n\
00126 # Standard metadata for higher-level stamped data types.\n\
00127 # This is generally used to communicate timestamped data \n\
00128 # in a particular coordinate frame.\n\
00129 # \n\
00130 # sequence ID: consecutively increasing ID \n\
00131 uint32 seq\n\
00132 #Two-integer timestamp that is expressed as:\n\
00133 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00134 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00135 # time-handling sugar is provided by the client library\n\
00136 time stamp\n\
00137 #Frame this data is associated with\n\
00138 # 0: no frame\n\
00139 # 1: global frame\n\
00140 string frame_id\n\
00141 \n\
00142 ";
00143   }
00144 
00145   static const char* value(const  ::erratic_player::RangeArray_<ContainerAllocator> &) { return value(); } 
00146 };
00147 
00148 } // namespace message_traits
00149 } // namespace ros
00150 
00151 namespace ros
00152 {
00153 namespace serialization
00154 {
00155 
00156 template<class ContainerAllocator> struct Serializer< ::erratic_player::RangeArray_<ContainerAllocator> >
00157 {
00158   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00159   {
00160     stream.next(m.ranges);
00161   }
00162 
00163   ROS_DECLARE_ALLINONE_SERIALIZER;
00164 }; // struct RangeArray_
00165 } // namespace serialization
00166 } // namespace ros
00167 
00168 namespace ros
00169 {
00170 namespace message_operations
00171 {
00172 
00173 template<class ContainerAllocator>
00174 struct Printer< ::erratic_player::RangeArray_<ContainerAllocator> >
00175 {
00176   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::erratic_player::RangeArray_<ContainerAllocator> & v) 
00177   {
00178     s << indent << "ranges[]" << std::endl;
00179     for (size_t i = 0; i < v.ranges.size(); ++i)
00180     {
00181       s << indent << "  ranges[" << i << "]: ";
00182       s << std::endl;
00183       s << indent;
00184       Printer< ::sensor_msgs::Range_<ContainerAllocator> >::stream(s, indent + "    ", v.ranges[i]);
00185     }
00186   }
00187 };
00188 
00189 
00190 } // namespace message_operations
00191 } // namespace ros
00192 
00193 #endif // ERRATIC_PLAYER_MESSAGE_RANGEARRAY_H
00194 


erratic_player
Author(s): Maintained by Antons Rebguns
autogenerated on Sat Dec 28 2013 16:58:03