00001
00002 #ifndef CALIBRATION_MSGS_MESSAGE_DENSELASERPOINT_H
00003 #define CALIBRATION_MSGS_MESSAGE_DENSELASERPOINT_H
00004 #include <string>
00005 #include <vector>
00006 #include <ostream>
00007 #include "ros/serialization.h"
00008 #include "ros/builtin_message_traits.h"
00009 #include "ros/message_operations.h"
00010 #include "ros/message.h"
00011 #include "ros/time.h"
00012
00013
00014 namespace calibration_msgs
00015 {
00016 template <class ContainerAllocator>
00017 struct DenseLaserPoint_ : public ros::Message
00018 {
00019 typedef DenseLaserPoint_<ContainerAllocator> Type;
00020
00021 DenseLaserPoint_()
00022 : scan(0.0)
00023 , ray(0.0)
00024 {
00025 }
00026
00027 DenseLaserPoint_(const ContainerAllocator& _alloc)
00028 : scan(0.0)
00029 , ray(0.0)
00030 {
00031 }
00032
00033 typedef double _scan_type;
00034 double scan;
00035
00036 typedef double _ray_type;
00037 double ray;
00038
00039
00040 private:
00041 static const char* __s_getDataType_() { return "calibration_msgs/DenseLaserPoint"; }
00042 public:
00043 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); }
00044
00045 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); }
00046
00047 private:
00048 static const char* __s_getMD5Sum_() { return "12821677bc3daf8fabbb485d5b0cc027"; }
00049 public:
00050 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); }
00051
00052 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); }
00053
00054 private:
00055 static const char* __s_getMessageDefinition_() { return "# Stores the xy subpixel location of a point in a DenseLaserSnapshot\n\
00056 float64 scan # Which scan line we detected the feature\n\
00057 float64 ray # Which ray in the specified scan we detected the feature\n\
00058 \n\
00059 "; }
00060 public:
00061 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); }
00062
00063 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); }
00064
00065 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const
00066 {
00067 ros::serialization::OStream stream(write_ptr, 1000000000);
00068 ros::serialization::serialize(stream, scan);
00069 ros::serialization::serialize(stream, ray);
00070 return stream.getData();
00071 }
00072
00073 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr)
00074 {
00075 ros::serialization::IStream stream(read_ptr, 1000000000);
00076 ros::serialization::deserialize(stream, scan);
00077 ros::serialization::deserialize(stream, ray);
00078 return stream.getData();
00079 }
00080
00081 ROS_DEPRECATED virtual uint32_t serializationLength() const
00082 {
00083 uint32_t size = 0;
00084 size += ros::serialization::serializationLength(scan);
00085 size += ros::serialization::serializationLength(ray);
00086 return size;
00087 }
00088
00089 typedef boost::shared_ptr< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > Ptr;
00090 typedef boost::shared_ptr< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> const> ConstPtr;
00091 };
00092 typedef ::calibration_msgs::DenseLaserPoint_<std::allocator<void> > DenseLaserPoint;
00093
00094 typedef boost::shared_ptr< ::calibration_msgs::DenseLaserPoint> DenseLaserPointPtr;
00095 typedef boost::shared_ptr< ::calibration_msgs::DenseLaserPoint const> DenseLaserPointConstPtr;
00096
00097
00098 template<typename ContainerAllocator>
00099 std::ostream& operator<<(std::ostream& s, const ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> & v)
00100 {
00101 ros::message_operations::Printer< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> >::stream(s, "", v);
00102 return s;}
00103
00104 }
00105
00106 namespace ros
00107 {
00108 namespace message_traits
00109 {
00110 template<class ContainerAllocator>
00111 struct MD5Sum< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > {
00112 static const char* value()
00113 {
00114 return "12821677bc3daf8fabbb485d5b0cc027";
00115 }
00116
00117 static const char* value(const ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> &) { return value(); }
00118 static const uint64_t static_value1 = 0x12821677bc3daf8fULL;
00119 static const uint64_t static_value2 = 0xabbb485d5b0cc027ULL;
00120 };
00121
00122 template<class ContainerAllocator>
00123 struct DataType< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > {
00124 static const char* value()
00125 {
00126 return "calibration_msgs/DenseLaserPoint";
00127 }
00128
00129 static const char* value(const ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> &) { return value(); }
00130 };
00131
00132 template<class ContainerAllocator>
00133 struct Definition< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > {
00134 static const char* value()
00135 {
00136 return "# Stores the xy subpixel location of a point in a DenseLaserSnapshot\n\
00137 float64 scan # Which scan line we detected the feature\n\
00138 float64 ray # Which ray in the specified scan we detected the feature\n\
00139 \n\
00140 ";
00141 }
00142
00143 static const char* value(const ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> &) { return value(); }
00144 };
00145
00146 template<class ContainerAllocator> struct IsFixedSize< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> > : public TrueType {};
00147 }
00148 }
00149
00150 namespace ros
00151 {
00152 namespace serialization
00153 {
00154
00155 template<class ContainerAllocator> struct Serializer< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> >
00156 {
00157 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00158 {
00159 stream.next(m.scan);
00160 stream.next(m.ray);
00161 }
00162
00163 ROS_DECLARE_ALLINONE_SERIALIZER;
00164 };
00165 }
00166 }
00167
00168 namespace ros
00169 {
00170 namespace message_operations
00171 {
00172
00173 template<class ContainerAllocator>
00174 struct Printer< ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> >
00175 {
00176 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::calibration_msgs::DenseLaserPoint_<ContainerAllocator> & v)
00177 {
00178 s << indent << "scan: ";
00179 Printer<double>::stream(s, indent + " ", v.scan);
00180 s << indent << "ray: ";
00181 Printer<double>::stream(s, indent + " ", v.ray);
00182 }
00183 };
00184
00185
00186 }
00187 }
00188
00189 #endif // CALIBRATION_MSGS_MESSAGE_DENSELASERPOINT_H
00190