Go to the documentation of this file.00001
00002 #ifndef FLIRTLIB_ROS_MESSAGE_SCANMAP_H
00003 #define FLIRTLIB_ROS_MESSAGE_SCANMAP_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 "flirtlib_ros/RefScanRos.h"
00018
00019 namespace flirtlib_ros
00020 {
00021 template <class ContainerAllocator>
00022 struct ScanMap_ {
00023 typedef ScanMap_<ContainerAllocator> Type;
00024
00025 ScanMap_()
00026 : scans()
00027 {
00028 }
00029
00030 ScanMap_(const ContainerAllocator& _alloc)
00031 : scans(_alloc)
00032 {
00033 }
00034
00035 typedef std::vector< ::flirtlib_ros::RefScanRos_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::flirtlib_ros::RefScanRos_<ContainerAllocator> >::other > _scans_type;
00036 std::vector< ::flirtlib_ros::RefScanRos_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::flirtlib_ros::RefScanRos_<ContainerAllocator> >::other > scans;
00037
00038
00039 typedef boost::shared_ptr< ::flirtlib_ros::ScanMap_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::flirtlib_ros::ScanMap_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::flirtlib_ros::ScanMap_<std::allocator<void> > ScanMap;
00044
00045 typedef boost::shared_ptr< ::flirtlib_ros::ScanMap> ScanMapPtr;
00046 typedef boost::shared_ptr< ::flirtlib_ros::ScanMap const> ScanMapConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::flirtlib_ros::ScanMap_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::flirtlib_ros::ScanMap_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::flirtlib_ros::ScanMap_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::flirtlib_ros::ScanMap_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::flirtlib_ros::ScanMap_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "026e963f013904b1ec1b7676cf837306";
00068 }
00069
00070 static const char* value(const ::flirtlib_ros::ScanMap_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x026e963f013904b1ULL;
00072 static const uint64_t static_value2 = 0xec1b7676cf837306ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::flirtlib_ros::ScanMap_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "flirtlib_ros/ScanMap";
00080 }
00081
00082 static const char* value(const ::flirtlib_ros::ScanMap_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::flirtlib_ros::ScanMap_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "RefScanRos[] scans\n\
00090 ================================================================================\n\
00091 MSG: flirtlib_ros/RefScanRos\n\
00092 sensor_msgs/LaserScan scan\n\
00093 geometry_msgs/Pose pose\n\
00094 InterestPointRos[] pts\n\
00095 ================================================================================\n\
00096 MSG: sensor_msgs/LaserScan\n\
00097 # Single scan from a planar laser range-finder\n\
00098 #\n\
00099 # If you have another ranging device with different behavior (e.g. a sonar\n\
00100 # array), please find or create a different message, since applications\n\
00101 # will make fairly laser-specific assumptions about this data\n\
00102 \n\
00103 Header header # timestamp in the header is the acquisition time of \n\
00104 # the first ray in the scan.\n\
00105 #\n\
00106 # in frame frame_id, angles are measured around \n\
00107 # the positive Z axis (counterclockwise, if Z is up)\n\
00108 # with zero angle being forward along the x axis\n\
00109 \n\
00110 float32 angle_min # start angle of the scan [rad]\n\
00111 float32 angle_max # end angle of the scan [rad]\n\
00112 float32 angle_increment # angular distance between measurements [rad]\n\
00113 \n\
00114 float32 time_increment # time between measurements [seconds] - if your scanner\n\
00115 # is moving, this will be used in interpolating position\n\
00116 # of 3d points\n\
00117 float32 scan_time # time between scans [seconds]\n\
00118 \n\
00119 float32 range_min # minimum range value [m]\n\
00120 float32 range_max # maximum range value [m]\n\
00121 \n\
00122 float32[] ranges # range data [m] (Note: values < range_min or > range_max should be discarded)\n\
00123 float32[] intensities # intensity data [device-specific units]. If your\n\
00124 # device does not provide intensities, please leave\n\
00125 # the array empty.\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: std_msgs/Header\n\
00129 # Standard metadata for higher-level stamped data types.\n\
00130 # This is generally used to communicate timestamped data \n\
00131 # in a particular coordinate frame.\n\
00132 # \n\
00133 # sequence ID: consecutively increasing ID \n\
00134 uint32 seq\n\
00135 #Two-integer timestamp that is expressed as:\n\
00136 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00137 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00138 # time-handling sugar is provided by the client library\n\
00139 time stamp\n\
00140 #Frame this data is associated with\n\
00141 # 0: no frame\n\
00142 # 1: global frame\n\
00143 string frame_id\n\
00144 \n\
00145 ================================================================================\n\
00146 MSG: geometry_msgs/Pose\n\
00147 # A representation of pose in free space, composed of postion and orientation. \n\
00148 Point position\n\
00149 Quaternion orientation\n\
00150 \n\
00151 ================================================================================\n\
00152 MSG: geometry_msgs/Point\n\
00153 # This contains the position of a point in free space\n\
00154 float64 x\n\
00155 float64 y\n\
00156 float64 z\n\
00157 \n\
00158 ================================================================================\n\
00159 MSG: geometry_msgs/Quaternion\n\
00160 # This represents an orientation in free space in quaternion form.\n\
00161 \n\
00162 float64 x\n\
00163 float64 y\n\
00164 float64 z\n\
00165 float64 w\n\
00166 \n\
00167 ================================================================================\n\
00168 MSG: flirtlib_ros/InterestPointRos\n\
00169 # Corresponds to the InterestPoint type in flirtlib\n\
00170 # Includes both the point location and optionally a descriptor\n\
00171 \n\
00172 geometry_msgs/Pose2D pose\n\
00173 \n\
00174 geometry_msgs/Point[] support_points\n\
00175 \n\
00176 float32 scale\n\
00177 \n\
00178 uint32 scale_level\n\
00179 \n\
00180 DescriptorRos descriptor\n\
00181 \n\
00182 \n\
00183 ================================================================================\n\
00184 MSG: geometry_msgs/Pose2D\n\
00185 # This expresses a position and orientation on a 2D manifold.\n\
00186 \n\
00187 float64 x\n\
00188 float64 y\n\
00189 float64 theta\n\
00190 ================================================================================\n\
00191 MSG: flirtlib_ros/DescriptorRos\n\
00192 # Confirms to the Descriptor type in flirtlib\n\
00193 # For now, we only allow the beta grid descriptor\n\
00194 \n\
00195 Vector[] hist\n\
00196 Vector[] variance\n\
00197 Vector[] hit\n\
00198 Vector[] miss\n\
00199 \n\
00200 ================================================================================\n\
00201 MSG: flirtlib_ros/Vector\n\
00202 # Vector message type used by a bunch of the flirtlib messages\n\
00203 \n\
00204 float64[] vec\n\
00205 ";
00206 }
00207
00208 static const char* value(const ::flirtlib_ros::ScanMap_<ContainerAllocator> &) { return value(); }
00209 };
00210
00211 }
00212 }
00213
00214 namespace ros
00215 {
00216 namespace serialization
00217 {
00218
00219 template<class ContainerAllocator> struct Serializer< ::flirtlib_ros::ScanMap_<ContainerAllocator> >
00220 {
00221 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00222 {
00223 stream.next(m.scans);
00224 }
00225
00226 ROS_DECLARE_ALLINONE_SERIALIZER;
00227 };
00228 }
00229 }
00230
00231 namespace ros
00232 {
00233 namespace message_operations
00234 {
00235
00236 template<class ContainerAllocator>
00237 struct Printer< ::flirtlib_ros::ScanMap_<ContainerAllocator> >
00238 {
00239 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::flirtlib_ros::ScanMap_<ContainerAllocator> & v)
00240 {
00241 s << indent << "scans[]" << std::endl;
00242 for (size_t i = 0; i < v.scans.size(); ++i)
00243 {
00244 s << indent << " scans[" << i << "]: ";
00245 s << std::endl;
00246 s << indent;
00247 Printer< ::flirtlib_ros::RefScanRos_<ContainerAllocator> >::stream(s, indent + " ", v.scans[i]);
00248 }
00249 }
00250 };
00251
00252
00253 }
00254 }
00255
00256 #endif // FLIRTLIB_ROS_MESSAGE_SCANMAP_H
00257