![]() |
RMVL
2.4.0-dev
Robotic Manipulation and Vision Library
|
GyroDeciderParam 参数模块 更多...
#include <rmvlpara/decider/gyro_decider.h>
Public 成员函数 | |
| GyroDeciderParam ()=default | |
| 创建 GyroDeciderParam 参数对象 | |
| bool | read (const std::string &path) |
| 从指定 YAML 文件中加载,并读取至 GyroDeciderParam 中 | |
| bool | write (const std::string &path) const |
| 将 GyroDeciderParam 的数据写入指定的 YAML 文件中 | |
Public 属性 | |
| float | NORMAL_RADIUS_RATIO = 0.8f |
| 普通模式时射击半径比值 | |
| std::string | TYPE_PRIORITY = "111111111" |
| 数字决策优先级(从左到右的均满足 RobotType 中每个枚举类型的顺序) | |
| float | PITCH_RESPONSE_DELAY = 1.f |
| 高速状态下pitch轴的响应延迟系数 | |
| float | PITCH_RESPONSE_AMP = 1.f |
| 高速状态下pitch轴的响应振幅系数 | |
| float | PRE_AIM_ANGLE = 0.f |
| 提前瞄准角度(弧度制/帧) | |
GyroDeciderParam 参数模块
|
default |
创建 GyroDeciderParam 参数对象
| bool rm::para::GyroDeciderParam::read | ( | const std::string & | path | ) |
| bool rm::para::GyroDeciderParam::write | ( | const std::string & | path | ) | const |
| float rm::para::GyroDeciderParam::NORMAL_RADIUS_RATIO = 0.8f |
普通模式时射击半径比值
默认值:0.8f
| float rm::para::GyroDeciderParam::PITCH_RESPONSE_AMP = 1.f |
高速状态下pitch轴的响应振幅系数
默认值:1.f
| float rm::para::GyroDeciderParam::PITCH_RESPONSE_DELAY = 1.f |
高速状态下pitch轴的响应延迟系数
默认值:1.f
| float rm::para::GyroDeciderParam::PRE_AIM_ANGLE = 0.f |
提前瞄准角度(弧度制/帧)
默认值:0.f
| std::string rm::para::GyroDeciderParam::TYPE_PRIORITY = "111111111" |
数字决策优先级(从左到右的均满足 RobotType 中每个枚举类型的顺序)
默认值:"111111111"