![]() |
RMVL
2.6.0-dev
Robotic Manipulation and Vision Library
|
#include <rmvlmsg/sensor/imu.hpp>
Public 成员函数 | |
| std::string | serialize () const noexcept |
| 消息序列化 | |
| std::string | json () const noexcept |
| 将消息序列化为 JSON 字符串 | |
| std::size_t | compact_size () const noexcept |
| 获取消息紧凑序列化后的大小(单位:字节) | |
静态 Public 成员函数 | |
| static Imu | deserialize (const char *const str) noexcept |
| 消息反序列化 | |
Public 属性 | |
| rm::msg::Header | header {} |
| rm::msg::Quaternion | orientation {} |
| std::array< double, 9 > | orientation_covariance {} |
| rm::msg::Vector3 | angular_velocity {} |
| std::array< double, 9 > | angular_velocity_covariance {} |
| rm::msg::Vector3 | linear_acceleration {} |
| std::array< double, 9 > | linear_acceleration_covariance {} |
静态 Public 属性 | |
| static constexpr const char | msg_type [] = "sensor/Imu" |
| 消息类型字符串常量 | |
Imu 消息类型:sensor/Imu
|
noexcept |
获取消息紧凑序列化后的大小(单位:字节)
|
staticnoexcept |
消息反序列化
| [in] | str | 待反序列化的字符串指针 |
|
noexcept |
将消息序列化为 JSON 字符串
|
noexcept |
消息序列化
| rm::msg::Vector3 rm::msg::Imu::angular_velocity {} |
| std::array<double, 9> rm::msg::Imu::angular_velocity_covariance {} |
| rm::msg::Header rm::msg::Imu::header {} |
| rm::msg::Vector3 rm::msg::Imu::linear_acceleration {} |
| std::array<double, 9> rm::msg::Imu::linear_acceleration_covariance {} |
|
staticconstexpr |
消息类型字符串常量
| rm::msg::Quaternion rm::msg::Imu::orientation {} |
| std::array<double, 9> rm::msg::Imu::orientation_covariance {} |