// Generated by gencpp from file realsense_legacy_msgs/pose.msg // DO NOT EDIT! #ifndef realsense_legacy_msgs_MESSAGE_POSE_H #define realsense_legacy_msgs_MESSAGE_POSE_H #include #include #include #include #include #include #include #include #include #include #include #include #include namespace realsense_legacy_msgs { template struct pose_ { typedef pose_ Type; pose_() : translation() , rotation() , velocity() , angular_velocity() , acceleration() , angular_acceleration() , timestamp(0) , system_timestamp(0) { } pose_(const ContainerAllocator& _alloc) : translation(_alloc) , rotation(_alloc) , velocity(_alloc) , angular_velocity(_alloc) , acceleration(_alloc) , angular_acceleration(_alloc) , timestamp(0) , system_timestamp(0) { (void)_alloc; } typedef ::geometry_msgs::Vector3_ _translation_type; _translation_type translation; typedef ::geometry_msgs::Quaternion_ _rotation_type; _rotation_type rotation; typedef ::geometry_msgs::Vector3_ _velocity_type; _velocity_type velocity; typedef ::geometry_msgs::Vector3_ _angular_velocity_type; _angular_velocity_type angular_velocity; typedef ::geometry_msgs::Vector3_ _acceleration_type; _acceleration_type acceleration; typedef ::geometry_msgs::Vector3_ _angular_acceleration_type; _angular_acceleration_type angular_acceleration; typedef uint64_t _timestamp_type; _timestamp_type timestamp; typedef uint64_t _system_timestamp_type; _system_timestamp_type system_timestamp; typedef std::shared_ptr< ::realsense_legacy_msgs::pose_ > Ptr; typedef std::shared_ptr< ::realsense_legacy_msgs::pose_ const> ConstPtr; }; // struct pose_ typedef ::realsense_legacy_msgs::pose_ > pose; typedef std::shared_ptr< ::realsense_legacy_msgs::pose > posePtr; typedef std::shared_ptr< ::realsense_legacy_msgs::pose const> poseConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::realsense_legacy_msgs::pose_ & v) { rs2rosinternal::message_operations::Printer< ::realsense_legacy_msgs::pose_ >::stream(s, "", v); return s; } } // namespace realsense_legacy_msgs namespace rs2rosinternal { namespace message_traits { // BOOLTRAITS {'IsFixedSize': True, 'IsMessage': True, 'HasHeader': False} // {'sensor_msgs': ['/opt/ros/kinetic/share/sensor_msgs/cmake/../msg'], 'geometry_msgs': ['/opt/ros/kinetic/share/geometry_msgs/cmake/../msg'], 'std_msgs': ['/opt/ros/kinetic/share/std_msgs/cmake/../msg'], 'realsense_legacy_msgs': ['/home/administrator/ros/realsense_sdk_internal/sdk_internal/tools/realsense_legacy_msgs_generator/msg']} // !!!!!!!!!!! ['__class__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_parsed_fields', 'constants', 'fields', 'full_name', 'has_header', 'header_present', 'names', 'package', 'parsed_fields', 'short_name', 'text', 'types'] template struct IsFixedSize< ::realsense_legacy_msgs::pose_ > : std::true_type { }; template struct IsFixedSize< ::realsense_legacy_msgs::pose_ const> : std::true_type { }; template struct IsMessage< ::realsense_legacy_msgs::pose_ > : std::true_type { }; template struct IsMessage< ::realsense_legacy_msgs::pose_ const> : std::true_type { }; template struct HasHeader< ::realsense_legacy_msgs::pose_ > : std::false_type { }; template struct HasHeader< ::realsense_legacy_msgs::pose_ const> : std::false_type { }; template struct MD5Sum< ::realsense_legacy_msgs::pose_ > { static const char* value() { return "befd7be861f6533fae56f3f40630413c"; } static const char* value(const ::realsense_legacy_msgs::pose_&) { return value(); } static const uint64_t static_value1 = 0xbefd7be861f6533fULL; static const uint64_t static_value2 = 0xae56f3f40630413cULL; }; template struct DataType< ::realsense_legacy_msgs::pose_ > { static const char* value() { return "realsense_legacy_msgs/pose"; } static const char* value(const ::realsense_legacy_msgs::pose_&) { return value(); } }; template struct Definition< ::realsense_legacy_msgs::pose_ > { static const char* value() { return "geometry_msgs/Vector3 translation\n\ geometry_msgs/Quaternion rotation \n\ geometry_msgs/Vector3 velocity \n\ geometry_msgs/Vector3 angular_velocity \n\ geometry_msgs/Vector3 acceleration \n\ geometry_msgs/Vector3 angular_acceleration\n\ uint64 timestamp\n\ uint64 system_timestamp\n\ \n\ ================================================================================\n\ MSG: geometry_msgs/Vector3\n\ # This represents a vector in free space. \n\ # It is only meant to represent a direction. Therefore, it does not\n\ # make sense to apply a translation to it (e.g., when applying a \n\ # generic rigid transformation to a Vector3, tf2 will only apply the\n\ # rotation). If you want your data to be translatable too, use the\n\ # geometry_msgs/Point message instead.\n\ \n\ float64 x\n\ float64 y\n\ float64 z\n\ ================================================================================\n\ MSG: geometry_msgs/Quaternion\n\ # This represents an orientation in free space in quaternion form.\n\ \n\ float64 x\n\ float64 y\n\ float64 z\n\ float64 w\n\ "; } static const char* value(const ::realsense_legacy_msgs::pose_&) { return value(); } }; } // namespace message_traits } // namespace rs2rosinternal namespace rs2rosinternal { namespace serialization { template struct Serializer< ::realsense_legacy_msgs::pose_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.translation); stream.next(m.rotation); stream.next(m.velocity); stream.next(m.angular_velocity); stream.next(m.acceleration); stream.next(m.angular_acceleration); stream.next(m.timestamp); stream.next(m.system_timestamp); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct pose_ } // namespace serialization } // namespace rs2rosinternal namespace rs2rosinternal { namespace message_operations { template struct Printer< ::realsense_legacy_msgs::pose_ > { template static void stream(Stream& s, const std::string& indent, const ::realsense_legacy_msgs::pose_& v) { s << indent << "translation: "; s << std::endl; Printer< ::geometry_msgs::Vector3_ >::stream(s, indent + " ", v.translation); s << indent << "rotation: "; s << std::endl; Printer< ::geometry_msgs::Quaternion_ >::stream(s, indent + " ", v.rotation); s << indent << "velocity: "; s << std::endl; Printer< ::geometry_msgs::Vector3_ >::stream(s, indent + " ", v.velocity); s << indent << "angular_velocity: "; s << std::endl; Printer< ::geometry_msgs::Vector3_ >::stream(s, indent + " ", v.angular_velocity); s << indent << "acceleration: "; s << std::endl; Printer< ::geometry_msgs::Vector3_ >::stream(s, indent + " ", v.acceleration); s << indent << "angular_acceleration: "; s << std::endl; Printer< ::geometry_msgs::Vector3_ >::stream(s, indent + " ", v.angular_acceleration); s << indent << "timestamp: "; Printer::stream(s, indent + " ", v.timestamp); s << indent << "system_timestamp: "; Printer::stream(s, indent + " ", v.system_timestamp); } }; } // namespace message_operations } // namespace rs2rosinternal #endif // realsense_legacy_msgs_MESSAGE_POSE_H