// Generated by gencpp from file lslidar_msgs/LslidarPoint.msg // DO NOT EDIT! #ifndef LSLIDAR_MSGS_MESSAGE_LSLIDARPOINT_H #define LSLIDAR_MSGS_MESSAGE_LSLIDARPOINT_H #include #include #include #include #include #include #include namespace lslidar_msgs { template struct LslidarPoint_ { typedef LslidarPoint_ Type; LslidarPoint_() : time(0.0) , x(0.0) , y(0.0) , z(0.0) , azimuth(0.0) , distance(0.0) , intensity(0.0) , ring(0) { } LslidarPoint_(const ContainerAllocator& _alloc) : time(0.0) , x(0.0) , y(0.0) , z(0.0) , azimuth(0.0) , distance(0.0) , intensity(0.0) , ring(0) { (void)_alloc; } typedef double _time_type; _time_type time; typedef double _x_type; _x_type x; typedef double _y_type; _y_type y; typedef double _z_type; _z_type z; typedef double _azimuth_type; _azimuth_type azimuth; typedef double _distance_type; _distance_type distance; typedef double _intensity_type; _intensity_type intensity; typedef uint16_t _ring_type; _ring_type ring; typedef boost::shared_ptr< ::lslidar_msgs::LslidarPoint_ > Ptr; typedef boost::shared_ptr< ::lslidar_msgs::LslidarPoint_ const> ConstPtr; }; // struct LslidarPoint_ typedef ::lslidar_msgs::LslidarPoint_ > LslidarPoint; typedef boost::shared_ptr< ::lslidar_msgs::LslidarPoint > LslidarPointPtr; typedef boost::shared_ptr< ::lslidar_msgs::LslidarPoint const> LslidarPointConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::lslidar_msgs::LslidarPoint_ & v) { ros::message_operations::Printer< ::lslidar_msgs::LslidarPoint_ >::stream(s, "", v); return s; } template bool operator==(const ::lslidar_msgs::LslidarPoint_ & lhs, const ::lslidar_msgs::LslidarPoint_ & rhs) { return lhs.time == rhs.time && lhs.x == rhs.x && lhs.y == rhs.y && lhs.z == rhs.z && lhs.azimuth == rhs.azimuth && lhs.distance == rhs.distance && lhs.intensity == rhs.intensity && lhs.ring == rhs.ring; } template bool operator!=(const ::lslidar_msgs::LslidarPoint_ & lhs, const ::lslidar_msgs::LslidarPoint_ & rhs) { return !(lhs == rhs); } } // namespace lslidar_msgs namespace ros { namespace message_traits { template struct IsMessage< ::lslidar_msgs::LslidarPoint_ > : TrueType { }; template struct IsMessage< ::lslidar_msgs::LslidarPoint_ const> : TrueType { }; template struct IsFixedSize< ::lslidar_msgs::LslidarPoint_ > : TrueType { }; template struct IsFixedSize< ::lslidar_msgs::LslidarPoint_ const> : TrueType { }; template struct HasHeader< ::lslidar_msgs::LslidarPoint_ > : FalseType { }; template struct HasHeader< ::lslidar_msgs::LslidarPoint_ const> : FalseType { }; template struct MD5Sum< ::lslidar_msgs::LslidarPoint_ > { static const char* value() { return "f50d5d0146efa869e6a9c7f522f5b8b8"; } static const char* value(const ::lslidar_msgs::LslidarPoint_&) { return value(); } static const uint64_t static_value1 = 0xf50d5d0146efa869ULL; static const uint64_t static_value2 = 0xe6a9c7f522f5b8b8ULL; }; template struct DataType< ::lslidar_msgs::LslidarPoint_ > { static const char* value() { return "lslidar_msgs/LslidarPoint"; } static const char* value(const ::lslidar_msgs::LslidarPoint_&) { return value(); } }; template struct Definition< ::lslidar_msgs::LslidarPoint_ > { static const char* value() { return "# Time when the point is captured\n" "float64 time\n" "\n" "# Converted distance in the sensor frame\n" "float64 x\n" "float64 y\n" "float64 z\n" "\n" "# Raw measurement from Leishen C16\n" "float64 azimuth\n" "float64 distance\n" "float64 intensity\n" "uint16 ring\n" "\n" ; } static const char* value(const ::lslidar_msgs::LslidarPoint_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::lslidar_msgs::LslidarPoint_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.time); stream.next(m.x); stream.next(m.y); stream.next(m.z); stream.next(m.azimuth); stream.next(m.distance); stream.next(m.intensity); stream.next(m.ring); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct LslidarPoint_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::lslidar_msgs::LslidarPoint_ > { template static void stream(Stream& s, const std::string& indent, const ::lslidar_msgs::LslidarPoint_& v) { s << indent << "time: "; Printer::stream(s, indent + " ", v.time); s << indent << "x: "; Printer::stream(s, indent + " ", v.x); s << indent << "y: "; Printer::stream(s, indent + " ", v.y); s << indent << "z: "; Printer::stream(s, indent + " ", v.z); s << indent << "azimuth: "; Printer::stream(s, indent + " ", v.azimuth); s << indent << "distance: "; Printer::stream(s, indent + " ", v.distance); s << indent << "intensity: "; Printer::stream(s, indent + " ", v.intensity); s << indent << "ring: "; Printer::stream(s, indent + " ", v.ring); } }; } // namespace message_operations } // namespace ros #endif // LSLIDAR_MSGS_MESSAGE_LSLIDARPOINT_H