123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- // 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 <string>
- #include <vector>
- #include <memory>
- #include <ros/types.h>
- #include <ros/serialization.h>
- #include <ros/builtin_message_traits.h>
- #include <ros/message_operations.h>
- namespace lslidar_msgs
- {
- template <class ContainerAllocator>
- struct LslidarPoint_
- {
- typedef LslidarPoint_<ContainerAllocator> 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_<ContainerAllocator> > Ptr;
- typedef boost::shared_ptr< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> const> ConstPtr;
- }; // struct LslidarPoint_
- typedef ::lslidar_msgs::LslidarPoint_<std::allocator<void> > 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<typename ContainerAllocator>
- std::ostream& operator<<(std::ostream& s, const ::lslidar_msgs::LslidarPoint_<ContainerAllocator> & v)
- {
- ros::message_operations::Printer< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> >::stream(s, "", v);
- return s;
- }
- template<typename ContainerAllocator1, typename ContainerAllocator2>
- bool operator==(const ::lslidar_msgs::LslidarPoint_<ContainerAllocator1> & lhs, const ::lslidar_msgs::LslidarPoint_<ContainerAllocator2> & 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<typename ContainerAllocator1, typename ContainerAllocator2>
- bool operator!=(const ::lslidar_msgs::LslidarPoint_<ContainerAllocator1> & lhs, const ::lslidar_msgs::LslidarPoint_<ContainerAllocator2> & rhs)
- {
- return !(lhs == rhs);
- }
- } // namespace lslidar_msgs
- namespace ros
- {
- namespace message_traits
- {
- template <class ContainerAllocator>
- struct IsMessage< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> >
- : TrueType
- { };
- template <class ContainerAllocator>
- struct IsMessage< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> const>
- : TrueType
- { };
- template <class ContainerAllocator>
- struct IsFixedSize< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> >
- : TrueType
- { };
- template <class ContainerAllocator>
- struct IsFixedSize< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> const>
- : TrueType
- { };
- template <class ContainerAllocator>
- struct HasHeader< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> >
- : FalseType
- { };
- template <class ContainerAllocator>
- struct HasHeader< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> const>
- : FalseType
- { };
- template<class ContainerAllocator>
- struct MD5Sum< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> >
- {
- static const char* value()
- {
- return "f50d5d0146efa869e6a9c7f522f5b8b8";
- }
- static const char* value(const ::lslidar_msgs::LslidarPoint_<ContainerAllocator>&) { return value(); }
- static const uint64_t static_value1 = 0xf50d5d0146efa869ULL;
- static const uint64_t static_value2 = 0xe6a9c7f522f5b8b8ULL;
- };
- template<class ContainerAllocator>
- struct DataType< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> >
- {
- static const char* value()
- {
- return "lslidar_msgs/LslidarPoint";
- }
- static const char* value(const ::lslidar_msgs::LslidarPoint_<ContainerAllocator>&) { return value(); }
- };
- template<class ContainerAllocator>
- struct Definition< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> >
- {
- 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_<ContainerAllocator>&) { return value(); }
- };
- } // namespace message_traits
- } // namespace ros
- namespace ros
- {
- namespace serialization
- {
- template<class ContainerAllocator> struct Serializer< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> >
- {
- template<typename Stream, typename T> 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<class ContainerAllocator>
- struct Printer< ::lslidar_msgs::LslidarPoint_<ContainerAllocator> >
- {
- template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::lslidar_msgs::LslidarPoint_<ContainerAllocator>& v)
- {
- s << indent << "time: ";
- Printer<double>::stream(s, indent + " ", v.time);
- s << indent << "x: ";
- Printer<double>::stream(s, indent + " ", v.x);
- s << indent << "y: ";
- Printer<double>::stream(s, indent + " ", v.y);
- s << indent << "z: ";
- Printer<double>::stream(s, indent + " ", v.z);
- s << indent << "azimuth: ";
- Printer<double>::stream(s, indent + " ", v.azimuth);
- s << indent << "distance: ";
- Printer<double>::stream(s, indent + " ", v.distance);
- s << indent << "intensity: ";
- Printer<double>::stream(s, indent + " ", v.intensity);
- s << indent << "ring: ";
- Printer<uint16_t>::stream(s, indent + " ", v.ring);
- }
- };
- } // namespace message_operations
- } // namespace ros
- #endif // LSLIDAR_MSGS_MESSAGE_LSLIDARPOINT_H
|