mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 17:03:35 +08:00
add library for current- or thrust-based mag compensation
This commit is contained in:
@@ -56,6 +56,11 @@ struct Parameters {
|
||||
|
||||
float board_offset[3];
|
||||
|
||||
//parameters for current/throttle-based mag compensation
|
||||
float mag_comp_paramX[4];
|
||||
float mag_comp_paramY[4];
|
||||
float mag_comp_paramZ[4];
|
||||
|
||||
int32_t air_cmodel;
|
||||
float air_tube_length;
|
||||
float air_tube_diameter_mm;
|
||||
@@ -71,6 +76,10 @@ struct ParameterHandles {
|
||||
|
||||
param_t board_offset[3];
|
||||
|
||||
param_t mag_comp_paramX[4];
|
||||
param_t mag_comp_paramY[4];
|
||||
param_t mag_comp_paramZ[4];
|
||||
|
||||
param_t air_cmodel;
|
||||
param_t air_tube_length;
|
||||
param_t air_tube_diameter_mm;
|
||||
|
||||
Reference in New Issue
Block a user