RangeArray.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-erratic_robot/doc_stacks/2014-10-05_23-43-29.164626/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 laser scanners. See the LaserScan\n\
00096 # message if you are working with a laser scanner.\n\
00097 \n\
00098 # This message also can represent a fixed-distance (binary) ranger.  This\n\
00099 # sensor will have min_range===max_range===distance of detection.\n\
00100 # These sensors follow REP 117 and will output -Inf if the object is detected\n\
00101 # and +Inf if the object is outside of the detection range.\n\
00102 \n\
00103 Header header           # timestamp in the header is the time the ranger\n\
00104                         # returned the distance reading\n\
00105 \n\
00106 # Radiation type enums\n\
00107 # If you want a value added to this list, send an email to the ros-users list\n\
00108 uint8 ULTRASOUND=0\n\
00109 uint8 INFRARED=1\n\
00110 \n\
00111 uint8 radiation_type    # the type of radiation used by the sensor\n\
00112                         # (sound, IR, etc) [enum]\n\
00113 \n\
00114 float32 field_of_view   # the size of the arc that the distance reading is\n\
00115                         # valid for [rad]\n\
00116                         # the object causing the range reading may have\n\
00117                         # been anywhere within -field_of_view/2 and\n\
00118                         # field_of_view/2 at the measured range. \n\
00119                         # 0 angle corresponds to the x-axis of the sensor.\n\
00120 \n\
00121 float32 min_range       # minimum range value [m]\n\
00122 float32 max_range       # maximum range value [m]\n\
00123                         # Fixed distance rangers require min_range==max_range\n\
00124 \n\
00125 float32 range           # range data [m]\n\
00126                         # (Note: values < range_min or > range_max\n\
00127                         # should be discarded)\n\
00128                         # Fixed distance rangers only output -Inf or +Inf.\n\
00129                         # -Inf represents a detection within fixed distance.\n\
00130                         # (Detection too close to the sensor to quantify)\n\
00131                         # +Inf represents no detection within the fixed distance.\n\
00132                         # (Object out of range)\n\
00133 ================================================================================\n\
00134 MSG: std_msgs/Header\n\
00135 # Standard metadata for higher-level stamped data types.\n\
00136 # This is generally used to communicate timestamped data \n\
00137 # in a particular coordinate frame.\n\
00138 # \n\
00139 # sequence ID: consecutively increasing ID \n\
00140 uint32 seq\n\
00141 #Two-integer timestamp that is expressed as:\n\
00142 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00143 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00144 # time-handling sugar is provided by the client library\n\
00145 time stamp\n\
00146 #Frame this data is associated with\n\
00147 # 0: no frame\n\
00148 # 1: global frame\n\
00149 string frame_id\n\
00150 \n\
00151 ";
00152   }
00153 
00154   static const char* value(const  ::erratic_player::RangeArray_<ContainerAllocator> &) { return value(); } 
00155 };
00156 
00157 } // namespace message_traits
00158 } // namespace ros
00159 
00160 namespace ros
00161 {
00162 namespace serialization
00163 {
00164 
00165 template<class ContainerAllocator> struct Serializer< ::erratic_player::RangeArray_<ContainerAllocator> >
00166 {
00167   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00168   {
00169     stream.next(m.ranges);
00170   }
00171 
00172   ROS_DECLARE_ALLINONE_SERIALIZER;
00173 }; // struct RangeArray_
00174 } // namespace serialization
00175 } // namespace ros
00176 
00177 namespace ros
00178 {
00179 namespace message_operations
00180 {
00181 
00182 template<class ContainerAllocator>
00183 struct Printer< ::erratic_player::RangeArray_<ContainerAllocator> >
00184 {
00185   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::erratic_player::RangeArray_<ContainerAllocator> & v) 
00186   {
00187     s << indent << "ranges[]" << std::endl;
00188     for (size_t i = 0; i < v.ranges.size(); ++i)
00189     {
00190       s << indent << "  ranges[" << i << "]: ";
00191       s << std::endl;
00192       s << indent;
00193       Printer< ::sensor_msgs::Range_<ContainerAllocator> >::stream(s, indent + "    ", v.ranges[i]);
00194     }
00195   }
00196 };
00197 
00198 
00199 } // namespace message_operations
00200 } // namespace ros
00201 
00202 #endif // ERRATIC_PLAYER_MESSAGE_RANGEARRAY_H
00203 


erratic_player
Author(s): Maintained by Antons Rebguns
autogenerated on Sun Oct 5 2014 23:49:03