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:
Patrick José Pereira 2020-01-27 13:07:07 -03:00 committed by Jacob Walser
parent c7f8c6155b
commit 885ebc41e3
1 changed files with 3 additions and 1 deletions

View File

@ -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()