mirror of https://github.com/ArduPilot/ardupilot
Sub: Ignore MOT_THST_HOVER parameter
We should ignore this parameter since ROVs are neutral buoyancy Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
This commit is contained in:
parent
c7f8c6155b
commit
885ebc41e3
|
@ -697,9 +697,11 @@ void Sub::load_parameters()
|
|||
AP_Param::set_default_by_name("INS_GYR_CAL", 0);
|
||||
AP_Param::set_default_by_name("MNT_DEFLT_MODE", MAV_MOUNT_MODE_RC_TARGETING);
|
||||
AP_Param::set_default_by_name("MNT_JSTICK_SPD", 100);
|
||||
AP_Param::set_default_by_name("RNGFND1_TYPE", (uint8_t)RangeFinder::Type::MAVLink);
|
||||
AP_Param::set_by_name("MNT_RC_IN_PAN", 7);
|
||||
AP_Param::set_by_name("MNT_RC_IN_TILT", 8);
|
||||
AP_Param::set_default_by_name("RNGFND1_TYPE", (uint8_t)RangeFinder::Type::MAVLink);
|
||||
// We should ignore this parameter since ROVs are neutral buoyancy
|
||||
AP_Param::set_by_name("MOT_THST_HOVER", 0.5);
|
||||
}
|
||||
|
||||
void Sub::convert_old_parameters()
|
||||
|
|
Loading…
Reference in New Issue