RMVL
1.0.0
RoboMaster Vision Library
|
整车状态补偿模块 更多...
#include <rmvl/compensator/gyro_compensator.h>
Public 成员函数 | |
GyroCompensator () | |
CompensateInfo | compensate (const std::vector< group_ptr > &groups, uint8_t shoot_speed, CompensateType com_flag) override |
补偿核心函数 更多... | |
Public 成员函数 继承自 rm::compensator | |
compensator ()=default | |
virtual | ~compensator ()=default |
静态 Public 成员函数 | |
static std::unique_ptr< GyroCompensator > | make_compensator () |
构造 GyroCompensator 更多... | |
静态 Public 成员函数 继承自 rm::compensator | |
static double | getPitch (double x, double y, double velocity) |
获得补偿角度 更多... | |
额外继承的成员函数 | |
Protected 属性 继承自 rm::compensator | |
float | _yaw_static_com |
yaw 轴静态补偿,方向与 yaw 一致 更多... | |
float | _pitch_static_com |
pitch 轴静态补偿,方向与 pitch 一致 更多... | |
整车状态补偿模块
rm::GyroCompensator::GyroCompensator | ( | ) |
|
overridevirtual |
补偿核心函数
[in] | groups | 所有序列组 |
[in] | shoot_speed | 子弹射速 (m/s) |
[in] | com_flag | 手动调节补偿标志 |
实现了 rm::compensator.
|
inlinestatic |