SITL: default SIM_ENGINE_MUL to 0

This makes SIM_ENGINE_FAIL work a little more intuitively, since it is
usually used to simulate a complete failure.

Also, drive-by fix of the SIM_ENGINE_MUL documentation.
This commit is contained in:
Bob Long 2024-12-17 12:46:00 +11:00 committed by Andrew Tridgell
parent 58c3854325
commit dee88b4ecb
4 changed files with 5 additions and 5 deletions

View File

@ -620,7 +620,7 @@ SIM_BATT_VOLTAGE,12.6
SIM_DRIFT_SPEED,0.05 SIM_DRIFT_SPEED,0.05
SIM_DRIFT_TIME,5 SIM_DRIFT_TIME,5
SIM_ENGINE_FAIL,0 SIM_ENGINE_FAIL,0
SIM_ENGINE_MUL,1 SIM_ENGINE_MUL,0
SIM_FLOAT_EXCEPT,1 SIM_FLOAT_EXCEPT,1
SIM_FLOW_DELAY,0 SIM_FLOW_DELAY,0
SIM_FLOW_ENABLE,0 SIM_FLOW_ENABLE,0

View File

@ -78,8 +78,8 @@ const AP_Param::GroupInfo SIM::var_info[] = {
// @Param: ENGINE_MUL // @Param: ENGINE_MUL
// @DisplayName: Engine failure thrust scaler // @DisplayName: Engine failure thrust scaler
// @Description: Thrust from Motors in SIM_ENGINE_FAIL will be multiplied by this factor // @Description: Thrust from Motors in SIM_ENGINE_FAIL will be multiplied by this factor
// @Units: ms // @Range: 0 1
AP_GROUPINFO("ENGINE_MUL", 8, SIM, engine_mul, 1), AP_GROUPINFO("ENGINE_MUL", 8, SIM, engine_mul, 0),
// @Param: WIND_SPD // @Param: WIND_SPD
// @DisplayName: Simulated Wind speed // @DisplayName: Simulated Wind speed
// @Description: Allows you to emulate wind in sim // @Description: Allows you to emulate wind in sim

View File

@ -612,7 +612,7 @@ SIM_BATT_VOLTAGE,12.6
SIM_DRIFT_SPEED,0.05 SIM_DRIFT_SPEED,0.05
SIM_DRIFT_TIME,5 SIM_DRIFT_TIME,5
SIM_ENGINE_FAIL,0 SIM_ENGINE_FAIL,0
SIM_ENGINE_MUL,1 SIM_ENGINE_MUL,0
SIM_FLOAT_EXCEPT,1 SIM_FLOAT_EXCEPT,1
SIM_FLOW_DELAY,0 SIM_FLOW_DELAY,0
SIM_FLOW_ENABLE,0 SIM_FLOW_ENABLE,0

View File

@ -632,7 +632,7 @@ SIM_BATT_VOLTAGE,12.6
SIM_DRIFT_SPEED,0.05 SIM_DRIFT_SPEED,0.05
SIM_DRIFT_TIME,5 SIM_DRIFT_TIME,5
SIM_ENGINE_FAIL,0 SIM_ENGINE_FAIL,0
SIM_ENGINE_MUL,1 SIM_ENGINE_MUL,0
SIM_FLOAT_EXCEPT,1 SIM_FLOAT_EXCEPT,1
SIM_FLOW_DELAY,0 SIM_FLOW_DELAY,0
SIM_FLOW_ENABLE,0 SIM_FLOW_ENABLE,0