// Generated by gencpp from file fast_lio/Pose6D.msg // DO NOT EDIT! #ifndef FAST_LIO_MESSAGE_POSE6D_H #define FAST_LIO_MESSAGE_POSE6D_H #include #include #include #include #include #include #include namespace fast_lio { template struct Pose6D_ { typedef Pose6D_ Type; Pose6D_() : offset_time(0.0) , acc() , gyr() , vel() , pos() , rot() { acc.assign(0.0); gyr.assign(0.0); vel.assign(0.0); pos.assign(0.0); rot.assign(0.0); } Pose6D_(const ContainerAllocator& _alloc) : offset_time(0.0) , acc() , gyr() , vel() , pos() , rot() { (void)_alloc; acc.assign(0.0); gyr.assign(0.0); vel.assign(0.0); pos.assign(0.0); rot.assign(0.0); } typedef double _offset_time_type; _offset_time_type offset_time; typedef boost::array _acc_type; _acc_type acc; typedef boost::array _gyr_type; _gyr_type gyr; typedef boost::array _vel_type; _vel_type vel; typedef boost::array _pos_type; _pos_type pos; typedef boost::array _rot_type; _rot_type rot; typedef boost::shared_ptr< ::fast_lio::Pose6D_ > Ptr; typedef boost::shared_ptr< ::fast_lio::Pose6D_ const> ConstPtr; }; // struct Pose6D_ typedef ::fast_lio::Pose6D_ > Pose6D; typedef boost::shared_ptr< ::fast_lio::Pose6D > Pose6DPtr; typedef boost::shared_ptr< ::fast_lio::Pose6D const> Pose6DConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::fast_lio::Pose6D_ & v) { ros::message_operations::Printer< ::fast_lio::Pose6D_ >::stream(s, "", v); return s; } template bool operator==(const ::fast_lio::Pose6D_ & lhs, const ::fast_lio::Pose6D_ & rhs) { return lhs.offset_time == rhs.offset_time && lhs.acc == rhs.acc && lhs.gyr == rhs.gyr && lhs.vel == rhs.vel && lhs.pos == rhs.pos && lhs.rot == rhs.rot; } template bool operator!=(const ::fast_lio::Pose6D_ & lhs, const ::fast_lio::Pose6D_ & rhs) { return !(lhs == rhs); } } // namespace fast_lio namespace ros { namespace message_traits { template struct IsMessage< ::fast_lio::Pose6D_ > : TrueType { }; template struct IsMessage< ::fast_lio::Pose6D_ const> : TrueType { }; template struct IsFixedSize< ::fast_lio::Pose6D_ > : TrueType { }; template struct IsFixedSize< ::fast_lio::Pose6D_ const> : TrueType { }; template struct HasHeader< ::fast_lio::Pose6D_ > : FalseType { }; template struct HasHeader< ::fast_lio::Pose6D_ const> : FalseType { }; template struct MD5Sum< ::fast_lio::Pose6D_ > { static const char* value() { return "ab486e9c24704038320abf9ff59003d2"; } static const char* value(const ::fast_lio::Pose6D_&) { return value(); } static const uint64_t static_value1 = 0xab486e9c24704038ULL; static const uint64_t static_value2 = 0x320abf9ff59003d2ULL; }; template struct DataType< ::fast_lio::Pose6D_ > { static const char* value() { return "fast_lio/Pose6D"; } static const char* value(const ::fast_lio::Pose6D_&) { return value(); } }; template struct Definition< ::fast_lio::Pose6D_ > { static const char* value() { return "# the preintegrated Lidar states at the time of IMU measurements in a frame\n" "float64 offset_time # the offset time of IMU measurement w.r.t the first lidar point\n" "float64[3] acc # the preintegrated total acceleration (global frame) at the Lidar origin\n" "float64[3] gyr # the unbiased angular velocity (body frame) at the Lidar origin\n" "float64[3] vel # the preintegrated velocity (global frame) at the Lidar origin\n" "float64[3] pos # the preintegrated position (global frame) at the Lidar origin\n" "float64[9] rot # the preintegrated rotation (global frame) at the Lidar origin\n" ; } static const char* value(const ::fast_lio::Pose6D_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::fast_lio::Pose6D_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.offset_time); stream.next(m.acc); stream.next(m.gyr); stream.next(m.vel); stream.next(m.pos); stream.next(m.rot); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct Pose6D_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::fast_lio::Pose6D_ > { template static void stream(Stream& s, const std::string& indent, const ::fast_lio::Pose6D_& v) { if (false || !indent.empty()) s << std::endl; s << indent << "offset_time: "; Printer::stream(s, indent + " ", v.offset_time); if (true || !indent.empty()) s << std::endl; s << indent << "acc: "; if (v.acc.empty() || true) s << "["; for (size_t i = 0; i < v.acc.size(); ++i) { if (true && i > 0) s << ", "; else if (!true) s << std::endl << indent << " -"; Printer::stream(s, true ? std::string() : indent + " ", v.acc[i]); } if (v.acc.empty() || true) s << "]"; if (true || !indent.empty()) s << std::endl; s << indent << "gyr: "; if (v.gyr.empty() || true) s << "["; for (size_t i = 0; i < v.gyr.size(); ++i) { if (true && i > 0) s << ", "; else if (!true) s << std::endl << indent << " -"; Printer::stream(s, true ? std::string() : indent + " ", v.gyr[i]); } if (v.gyr.empty() || true) s << "]"; if (true || !indent.empty()) s << std::endl; s << indent << "vel: "; if (v.vel.empty() || true) s << "["; for (size_t i = 0; i < v.vel.size(); ++i) { if (true && i > 0) s << ", "; else if (!true) s << std::endl << indent << " -"; Printer::stream(s, true ? std::string() : indent + " ", v.vel[i]); } if (v.vel.empty() || true) s << "]"; if (true || !indent.empty()) s << std::endl; s << indent << "pos: "; if (v.pos.empty() || true) s << "["; for (size_t i = 0; i < v.pos.size(); ++i) { if (true && i > 0) s << ", "; else if (!true) s << std::endl << indent << " -"; Printer::stream(s, true ? std::string() : indent + " ", v.pos[i]); } if (v.pos.empty() || true) s << "]"; if (true || !indent.empty()) s << std::endl; s << indent << "rot: "; if (v.rot.empty() || true) s << "["; for (size_t i = 0; i < v.rot.size(); ++i) { if (true && i > 0) s << ", "; else if (!true) s << std::endl << indent << " -"; Printer::stream(s, true ? std::string() : indent + " ", v.rot[i]); } if (v.rot.empty() || true) s << "]"; } }; } // namespace message_operations } // namespace ros #endif // FAST_LIO_MESSAGE_POSE6D_H