Go to the documentation of this file.00001
00002 #ifndef PR2_LASER_SNAPSHOTTER_MESSAGE_TILTLASERSNAPSHOTRESULT_H
00003 #define PR2_LASER_SNAPSHOTTER_MESSAGE_TILTLASERSNAPSHOTRESULT_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/PointCloud.h"
00018
00019 namespace pr2_laser_snapshotter
00020 {
00021 template <class ContainerAllocator>
00022 struct TiltLaserSnapshotResult_ {
00023 typedef TiltLaserSnapshotResult_<ContainerAllocator> Type;
00024
00025 TiltLaserSnapshotResult_()
00026 : cloud()
00027 {
00028 }
00029
00030 TiltLaserSnapshotResult_(const ContainerAllocator& _alloc)
00031 : cloud(_alloc)
00032 {
00033 }
00034
00035 typedef ::sensor_msgs::PointCloud_<ContainerAllocator> _cloud_type;
00036 ::sensor_msgs::PointCloud_<ContainerAllocator> cloud;
00037
00038
00039 typedef boost::shared_ptr< ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<std::allocator<void> > TiltLaserSnapshotResult;
00044
00045 typedef boost::shared_ptr< ::pr2_laser_snapshotter::TiltLaserSnapshotResult> TiltLaserSnapshotResultPtr;
00046 typedef boost::shared_ptr< ::pr2_laser_snapshotter::TiltLaserSnapshotResult const> TiltLaserSnapshotResultConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<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< ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "4217b28a903e4ad7869a83b3653110ff";
00068 }
00069
00070 static const char* value(const ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x4217b28a903e4ad7ULL;
00072 static const uint64_t static_value2 = 0x869a83b3653110ffULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "pr2_laser_snapshotter/TiltLaserSnapshotResult";
00080 }
00081
00082 static const char* value(const ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 sensor_msgs/PointCloud cloud\n\
00091 \n\
00092 ================================================================================\n\
00093 MSG: sensor_msgs/PointCloud\n\
00094 # This message holds a collection of 3d points, plus optional additional\n\
00095 # information about each point.\n\
00096 \n\
00097 # Time of sensor data acquisition, coordinate frame ID.\n\
00098 Header header\n\
00099 \n\
00100 # Array of 3d points. Each Point32 should be interpreted as a 3d point\n\
00101 # in the frame given in the header.\n\
00102 geometry_msgs/Point32[] points\n\
00103 \n\
00104 # Each channel should have the same number of elements as points array,\n\
00105 # and the data in each channel should correspond 1:1 with each point.\n\
00106 # Channel names in common practice are listed in ChannelFloat32.msg.\n\
00107 ChannelFloat32[] channels\n\
00108 \n\
00109 ================================================================================\n\
00110 MSG: std_msgs/Header\n\
00111 # Standard metadata for higher-level stamped data types.\n\
00112 # This is generally used to communicate timestamped data \n\
00113 # in a particular coordinate frame.\n\
00114 # \n\
00115 # sequence ID: consecutively increasing ID \n\
00116 uint32 seq\n\
00117 #Two-integer timestamp that is expressed as:\n\
00118 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00119 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00120 # time-handling sugar is provided by the client library\n\
00121 time stamp\n\
00122 #Frame this data is associated with\n\
00123 # 0: no frame\n\
00124 # 1: global frame\n\
00125 string frame_id\n\
00126 \n\
00127 ================================================================================\n\
00128 MSG: geometry_msgs/Point32\n\
00129 # This contains the position of a point in free space(with 32 bits of precision).\n\
00130 # It is recommeded to use Point wherever possible instead of Point32. \n\
00131 # \n\
00132 # This recommendation is to promote interoperability. \n\
00133 #\n\
00134 # This message is designed to take up less space when sending\n\
00135 # lots of points at once, as in the case of a PointCloud. \n\
00136 \n\
00137 float32 x\n\
00138 float32 y\n\
00139 float32 z\n\
00140 ================================================================================\n\
00141 MSG: sensor_msgs/ChannelFloat32\n\
00142 # This message is used by the PointCloud message to hold optional data\n\
00143 # associated with each point in the cloud. The length of the values\n\
00144 # array should be the same as the length of the points array in the\n\
00145 # PointCloud, and each value should be associated with the corresponding\n\
00146 # point.\n\
00147 \n\
00148 # Channel names in existing practice include:\n\
00149 # \"u\", \"v\" - row and column (respectively) in the left stereo image.\n\
00150 # This is opposite to usual conventions but remains for\n\
00151 # historical reasons. The newer PointCloud2 message has no\n\
00152 # such problem.\n\
00153 # \"rgb\" - For point clouds produced by color stereo cameras. uint8\n\
00154 # (R,G,B) values packed into the least significant 24 bits,\n\
00155 # in order.\n\
00156 # \"intensity\" - laser or pixel intensity.\n\
00157 # \"distance\"\n\
00158 \n\
00159 # The channel name should give semantics of the channel (e.g.\n\
00160 # \"intensity\" instead of \"value\").\n\
00161 string name\n\
00162 \n\
00163 # The values array should be 1-1 with the elements of the associated\n\
00164 # PointCloud.\n\
00165 float32[] values\n\
00166 \n\
00167 ";
00168 }
00169
00170 static const char* value(const ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> &) { return value(); }
00171 };
00172
00173 }
00174 }
00175
00176 namespace ros
00177 {
00178 namespace serialization
00179 {
00180
00181 template<class ContainerAllocator> struct Serializer< ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> >
00182 {
00183 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00184 {
00185 stream.next(m.cloud);
00186 }
00187
00188 ROS_DECLARE_ALLINONE_SERIALIZER;
00189 };
00190 }
00191 }
00192
00193 namespace ros
00194 {
00195 namespace message_operations
00196 {
00197
00198 template<class ContainerAllocator>
00199 struct Printer< ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> >
00200 {
00201 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_laser_snapshotter::TiltLaserSnapshotResult_<ContainerAllocator> & v)
00202 {
00203 s << indent << "cloud: ";
00204 s << std::endl;
00205 Printer< ::sensor_msgs::PointCloud_<ContainerAllocator> >::stream(s, indent + " ", v.cloud);
00206 }
00207 };
00208
00209
00210 }
00211 }
00212
00213 #endif // PR2_LASER_SNAPSHOTTER_MESSAGE_TILTLASERSNAPSHOTRESULT_H
00214