mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
sensors don't find parameters that are unused by QGC
This commit is contained in:
parent
5b80adeadb
commit
f621c334a8
@ -164,8 +164,10 @@ void initialize_parameter_handles(ParameterHandles ¶meter_handles)
|
||||
// These are parameters for which QGroundControl always expects to be returned in a list request.
|
||||
// We do a param_find here to force them into the list.
|
||||
(void)param_find("RC_CHAN_CNT");
|
||||
|
||||
(void)param_find("CAL_ACC0_ID");
|
||||
(void)param_find("CAL_GYRO0_ID");
|
||||
|
||||
(void)param_find("CAL_MAG0_ID");
|
||||
(void)param_find("CAL_MAG1_ID");
|
||||
(void)param_find("CAL_MAG2_ID");
|
||||
@ -176,69 +178,11 @@ void initialize_parameter_handles(ParameterHandles ¶meter_handles)
|
||||
(void)param_find("CAL_MAG3_ROT");
|
||||
(void)param_find("CAL_MAG_SIDES");
|
||||
|
||||
(void)param_find("CAL_MAG1_XOFF");
|
||||
(void)param_find("CAL_MAG1_XSCALE");
|
||||
(void)param_find("CAL_MAG1_YOFF");
|
||||
(void)param_find("CAL_MAG1_YSCALE");
|
||||
(void)param_find("CAL_MAG1_ZOFF");
|
||||
(void)param_find("CAL_MAG1_ZSCALE");
|
||||
|
||||
(void)param_find("CAL_MAG2_XOFF");
|
||||
(void)param_find("CAL_MAG2_XSCALE");
|
||||
(void)param_find("CAL_MAG2_YOFF");
|
||||
(void)param_find("CAL_MAG2_YSCALE");
|
||||
(void)param_find("CAL_MAG2_ZOFF");
|
||||
(void)param_find("CAL_MAG2_ZSCALE");
|
||||
|
||||
(void)param_find("CAL_MAG3_XOFF");
|
||||
(void)param_find("CAL_MAG3_XSCALE");
|
||||
(void)param_find("CAL_MAG3_YOFF");
|
||||
(void)param_find("CAL_MAG3_YSCALE");
|
||||
(void)param_find("CAL_MAG3_ZOFF");
|
||||
(void)param_find("CAL_MAG3_ZSCALE");
|
||||
|
||||
(void)param_find("CAL_GYRO1_XOFF");
|
||||
(void)param_find("CAL_GYRO1_XSCALE");
|
||||
(void)param_find("CAL_GYRO1_YOFF");
|
||||
(void)param_find("CAL_GYRO1_YSCALE");
|
||||
(void)param_find("CAL_GYRO1_ZOFF");
|
||||
(void)param_find("CAL_GYRO1_ZSCALE");
|
||||
|
||||
(void)param_find("CAL_GYRO2_XOFF");
|
||||
(void)param_find("CAL_GYRO2_XSCALE");
|
||||
(void)param_find("CAL_GYRO2_YOFF");
|
||||
(void)param_find("CAL_GYRO2_YSCALE");
|
||||
(void)param_find("CAL_GYRO2_ZOFF");
|
||||
(void)param_find("CAL_GYRO2_ZSCALE");
|
||||
|
||||
(void)param_find("CAL_ACC1_XOFF");
|
||||
(void)param_find("CAL_ACC1_XSCALE");
|
||||
(void)param_find("CAL_ACC1_YOFF");
|
||||
(void)param_find("CAL_ACC1_YSCALE");
|
||||
(void)param_find("CAL_ACC1_ZOFF");
|
||||
(void)param_find("CAL_ACC1_ZSCALE");
|
||||
|
||||
(void)param_find("CAL_ACC2_XOFF");
|
||||
(void)param_find("CAL_ACC2_XSCALE");
|
||||
(void)param_find("CAL_ACC2_YOFF");
|
||||
(void)param_find("CAL_ACC2_YSCALE");
|
||||
(void)param_find("CAL_ACC2_ZOFF");
|
||||
(void)param_find("CAL_ACC2_ZSCALE");
|
||||
|
||||
(void)param_find("SYS_PARAM_VER");
|
||||
(void)param_find("SYS_AUTOSTART");
|
||||
(void)param_find("SYS_AUTOCONFIG");
|
||||
(void)param_find("SYS_HITL");
|
||||
(void)param_find("PWM_RATE");
|
||||
(void)param_find("PWM_MIN");
|
||||
(void)param_find("PWM_MAX");
|
||||
(void)param_find("PWM_DISARMED");
|
||||
(void)param_find("PWM_AUX_MIN");
|
||||
(void)param_find("PWM_AUX_MAX");
|
||||
(void)param_find("PWM_AUX_DISARMED");
|
||||
(void)param_find("TRIG_MODE");
|
||||
(void)param_find("UAVCAN_ENABLE");
|
||||
(void)param_find("SYS_MC_EST_GROUP");
|
||||
|
||||
// Parameters controlling the on-board sensor thermal calibrator
|
||||
(void)param_find("SYS_CAL_TDEL");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user