![]() |
RMVL
2.4.0-dev
Robotic Manipulation and Vision Library
|
GyroCompensatorParam 参数模块 更多...
#include <rmvlpara/compensator/gyro_compensator.h>
Public 成员函数 | |
| GyroCompensatorParam ()=default | |
| 创建 GyroCompensatorParam 参数对象 | |
| bool | read (const std::string &path) |
| 从指定 YAML 文件中加载,并读取至 GyroCompensatorParam 中 | |
| bool | write (const std::string &path) const |
| 将 GyroCompensatorParam 的数据写入指定的 YAML 文件中 | |
Public 属性 | |
| double | g = 9.788 |
| 重力加速度,单位 m/s^2 | |
| float | YAW_COMPENSATE = 0.f |
| yaw 静态补偿 (相机比测速模块高出的角度) | |
| float | PITCH_COMPENSATE = 0.f |
| pitch 静态补偿 (相机比测速模块高出的角度) | |
| float | MINIMUM_COM = 0.5f |
| 手动补偿最小步进 | |
GyroCompensatorParam 参数模块
|
default |
创建 GyroCompensatorParam 参数对象
| bool rm::para::GyroCompensatorParam::read | ( | const std::string & | path | ) |
| bool rm::para::GyroCompensatorParam::write | ( | const std::string & | path | ) | const |
| double rm::para::GyroCompensatorParam::g = 9.788 |
重力加速度,单位 m/s^2
默认值:9.788
| float rm::para::GyroCompensatorParam::MINIMUM_COM = 0.5f |
手动补偿最小步进
默认值:0.5f
| float rm::para::GyroCompensatorParam::PITCH_COMPENSATE = 0.f |
pitch 静态补偿 (相机比测速模块高出的角度)
默认值:0.f
| float rm::para::GyroCompensatorParam::YAW_COMPENSATE = 0.f |
yaw 静态补偿 (相机比测速模块高出的角度)
默认值:0.f