// Generated by gencpp from file ros_merge_test/RawImu.msg // DO NOT EDIT! #ifndef ROS_MERGE_TEST_MESSAGE_RAWIMU_H #define ROS_MERGE_TEST_MESSAGE_RAWIMU_H #include #include #include #include #include #include #include #include #include #include #include namespace ros_merge_test { template struct RawImu_ { typedef RawImu_ Type; RawImu_() : header() , accelerometer(false) , gyroscope(false) , magnetometer(false) , raw_linear_acceleration() , raw_angular_velocity() , raw_magnetic_field() { } RawImu_(const ContainerAllocator& _alloc) : header(_alloc) , accelerometer(false) , gyroscope(false) , magnetometer(false) , raw_linear_acceleration(_alloc) , raw_angular_velocity(_alloc) , raw_magnetic_field(_alloc) { (void)_alloc; } typedef ::std_msgs::Header_ _header_type; _header_type header; typedef uint8_t _accelerometer_type; _accelerometer_type accelerometer; typedef uint8_t _gyroscope_type; _gyroscope_type gyroscope; typedef uint8_t _magnetometer_type; _magnetometer_type magnetometer; typedef ::geometry_msgs::Vector3_ _raw_linear_acceleration_type; _raw_linear_acceleration_type raw_linear_acceleration; typedef ::geometry_msgs::Vector3_ _raw_angular_velocity_type; _raw_angular_velocity_type raw_angular_velocity; typedef ::geometry_msgs::Vector3_ _raw_magnetic_field_type; _raw_magnetic_field_type raw_magnetic_field; typedef boost::shared_ptr< ::ros_merge_test::RawImu_ > Ptr; typedef boost::shared_ptr< ::ros_merge_test::RawImu_ const> ConstPtr; }; // struct RawImu_ typedef ::ros_merge_test::RawImu_ > RawImu; typedef boost::shared_ptr< ::ros_merge_test::RawImu > RawImuPtr; typedef boost::shared_ptr< ::ros_merge_test::RawImu const> RawImuConstPtr; // constants requiring out of line definition template std::ostream& operator<<(std::ostream& s, const ::ros_merge_test::RawImu_ & v) { ros::message_operations::Printer< ::ros_merge_test::RawImu_ >::stream(s, "", v); return s; } template bool operator==(const ::ros_merge_test::RawImu_ & lhs, const ::ros_merge_test::RawImu_ & rhs) { return lhs.header == rhs.header && lhs.accelerometer == rhs.accelerometer && lhs.gyroscope == rhs.gyroscope && lhs.magnetometer == rhs.magnetometer && lhs.raw_linear_acceleration == rhs.raw_linear_acceleration && lhs.raw_angular_velocity == rhs.raw_angular_velocity && lhs.raw_magnetic_field == rhs.raw_magnetic_field; } template bool operator!=(const ::ros_merge_test::RawImu_ & lhs, const ::ros_merge_test::RawImu_ & rhs) { return !(lhs == rhs); } } // namespace ros_merge_test namespace ros { namespace message_traits { template struct IsMessage< ::ros_merge_test::RawImu_ > : TrueType { }; template struct IsMessage< ::ros_merge_test::RawImu_ const> : TrueType { }; template struct IsFixedSize< ::ros_merge_test::RawImu_ > : FalseType { }; template struct IsFixedSize< ::ros_merge_test::RawImu_ const> : FalseType { }; template struct HasHeader< ::ros_merge_test::RawImu_ > : TrueType { }; template struct HasHeader< ::ros_merge_test::RawImu_ const> : TrueType { }; template struct MD5Sum< ::ros_merge_test::RawImu_ > { static const char* value() { return "3bc0ea37781da51ad41a6868ff62faa9"; } static const char* value(const ::ros_merge_test::RawImu_&) { return value(); } static const uint64_t static_value1 = 0x3bc0ea37781da51aULL; static const uint64_t static_value2 = 0xd41a6868ff62faa9ULL; }; template struct DataType< ::ros_merge_test::RawImu_ > { static const char* value() { return "ros_merge_test/RawImu"; } static const char* value(const ::ros_merge_test::RawImu_&) { return value(); } }; template struct Definition< ::ros_merge_test::RawImu_ > { static const char* value() { return "Header header\n" "bool accelerometer\n" "bool gyroscope\n" "bool magnetometer\n" "geometry_msgs/Vector3 raw_linear_acceleration\n" "geometry_msgs/Vector3 raw_angular_velocity\n" "geometry_msgs/Vector3 raw_magnetic_field\n" "\n" "================================================================================\n" "MSG: std_msgs/Header\n" "# Standard metadata for higher-level stamped data types.\n" "# This is generally used to communicate timestamped data \n" "# in a particular coordinate frame.\n" "# \n" "# sequence ID: consecutively increasing ID \n" "uint32 seq\n" "#Two-integer timestamp that is expressed as:\n" "# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n" "# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n" "# time-handling sugar is provided by the client library\n" "time stamp\n" "#Frame this data is associated with\n" "string frame_id\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" ; } static const char* value(const ::ros_merge_test::RawImu_&) { return value(); } }; } // namespace message_traits } // namespace ros namespace ros { namespace serialization { template struct Serializer< ::ros_merge_test::RawImu_ > { template inline static void allInOne(Stream& stream, T m) { stream.next(m.header); stream.next(m.accelerometer); stream.next(m.gyroscope); stream.next(m.magnetometer); stream.next(m.raw_linear_acceleration); stream.next(m.raw_angular_velocity); stream.next(m.raw_magnetic_field); } ROS_DECLARE_ALLINONE_SERIALIZER }; // struct RawImu_ } // namespace serialization } // namespace ros namespace ros { namespace message_operations { template struct Printer< ::ros_merge_test::RawImu_ > { template static void stream(Stream& s, const std::string& indent, const ::ros_merge_test::RawImu_& v) { s << indent << "header: "; s << std::endl; Printer< ::std_msgs::Header_ >::stream(s, indent + " ", v.header); s << indent << "accelerometer: "; Printer::stream(s, indent + " ", v.accelerometer); s << indent << "gyroscope: "; Printer::stream(s, indent + " ", v.gyroscope); s << indent << "magnetometer: "; Printer::stream(s, indent + " ", v.magnetometer); s << indent << "raw_linear_acceleration: "; s << std::endl; Printer< ::geometry_msgs::Vector3_ >::stream(s, indent + " ", v.raw_linear_acceleration); s << indent << "raw_angular_velocity: "; s << std::endl; Printer< ::geometry_msgs::Vector3_ >::stream(s, indent + " ", v.raw_angular_velocity); s << indent << "raw_magnetic_field: "; s << std::endl; Printer< ::geometry_msgs::Vector3_ >::stream(s, indent + " ", v.raw_magnetic_field); } }; } // namespace message_operations } // namespace ros #endif // ROS_MERGE_TEST_MESSAGE_RAWIMU_H