![]() |
RMVL
1.2.0
Robotic Manipulation and Vision Library
|
陀螺仪数据 更多...
#include <rmvl/core/dataio.hpp>
类 | |
| struct | Rotation |
| 转动姿态信息 更多... | |
| struct | Translation |
| 移动姿态信息 更多... | |
静态 Public 成员函数 | |
| static void | write (std::ostream &out, const GyroData &data) noexcept |
| 导出陀螺仪数据,可以是输出到控制台,也可以是输出到文件 更多... | |
| static void | read (std::istream &in, GyroData &data) noexcept |
| 导入陀螺仪数据,可以是从控制台读取,也可以是从文件读取 更多... | |
Public 属性 | |
| struct rm::GyroData::Translation | translation |
| struct rm::GyroData::Rotation | rotation |
|
staticnoexcept |
导入陀螺仪数据,可以是从控制台读取,也可以是从文件读取
read 方法时,陀螺仪平移的数据为 (1.9, 2.11, 3.12, 4.13, 5.14, 6.15) 旋转的数据为 (7.16, 8.17, 9.18, 10.19, 11.20, 12.21)| [in] | in | 输入流对象 |
| [out] | data | 读取出的陀螺仪数据 |
|
staticnoexcept |
导出陀螺仪数据,可以是输出到控制台,也可以是输出到文件
gyro_data 的整体写入到输出流对象的末尾| [in] | out | 输出流对象 |
| [in] | data | 待写入的陀螺仪数据 |
| struct rm::GyroData::Rotation rm::GyroData::rotation |
| struct rm::GyroData::Translation rm::GyroData::translation |
1.9.1