You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FW auto launch: Add option to lock selected surfaces before/during launch (#25799)
* FWModeManager: add option to set flag for disabling actuators during launch
Signed-off-by: Silvan <[email protected]>
* Allocation: add option to each control surface to be locked for launch
Signed-off-by: Silvan <[email protected]>
* FW rate control: reset integral while control surfaces are locked
Signed-off-by: Silvan <[email protected]>
---------
Signed-off-by: Silvan <[email protected]>
Co-authored-by: mahima-yoga <[email protected]>
Copy file name to clipboardExpand all lines: docs/en/flight_modes_fw/takeoff.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,7 @@ The vehicle always respects normal FW max/min throttle settings during takeoff (
85
85
In _catapult/hand-launch mode_ the vehicle waits to detect launch (based on acceleration trigger).
86
86
On launch it enables the motor(s) and climbs with the maximum climb rate [FW_T_CLMB_MAX](#FW_T_CLMB_MAX) while keeping the pitch setpoint above [FW_TKO_PITCH_MIN](#FW_TKO_PITCH_MIN).
87
87
Once it reaches [MIS_TAKEOFF_ALT](#MIS_TAKEOFF_ALT) it will automatically switch to [Hold mode](../flight_modes_fw/hold.md) and loiter.
88
+
It is possible to delay the activation of the motors and control surfaces separately, see parameters [FW_LAUN_MOT_DEL](#FW_LAUN_MOT_DEL), [FW_LAUN_CS_LK_DY](#FW_LAUN_CS_LK_DY) and [CA_CS_LAUN_LK](#CA_CS_LAUN_LK). The later is also exposed in the actuator configuration page under the advanced view.
88
89
89
90
All RC stick movement is ignored during the full takeoff sequence.
90
91
@@ -104,7 +105,9 @@ The _launch detector_ is affected by the following parameters:
104
105
| <aid="FW_LAUN_DETCN_ON"></a>[FW_LAUN_DETCN_ON](../advanced_config/parameter_reference.md#FW_LAUN_DETCN_ON)| Enable automatic launch detection. If disabled motors spin up on arming already |
105
106
| <aid="FW_LAUN_AC_THLD"></a>[FW_LAUN_AC_THLD](../advanced_config/parameter_reference.md#FW_LAUN_AC_THLD)| Acceleration threshold (acceleration in body-forward direction must be above this value) |
106
107
| <aid="FW_LAUN_AC_T"></a>[FW_LAUN_AC_T](../advanced_config/parameter_reference.md#FW_LAUN_AC_T)| Trigger time (acceleration must be above threshold for this amount of seconds) |
107
-
| <aid="FW_LAUN_MOT_DEL"></a>[FW_LAUN_MOT_DEL](../advanced_config/parameter_reference.md#FW_LAUN_MOT_DEL)| Delay from launch detection to motor spin up |
108
+
| <aid="FW_LAUN_MOT_DEL"></a>[FW_LAUN_MOT_DEL](../advanced_config/parameter_reference.md#FW_LAUN_MOT_DEL) | Delay from launch detection to motor spin up
109
+
| <aid="FW_LAUN_CS_LK_DY"></a>[FW_LAUN_CS_LK_DY](../advanced_config/parameter_reference.md#FW_LAUN_CS_LK_DY) | Delay from launch detection to unlocking the control surfaces
110
+
| <aid="CA_CS_LAUN_LK"></a>[CA_CS_LAUN_LK](../advanced_config/parameter_reference.md#CA_CS_LAUN_LK)| Bitmask to select which control surfaces are to be locked during launch |
uint8STATE_FLYING = 2# launch detected, use normal takeoff/flying configuration
8
8
9
9
uint8launch_detection_state
10
+
11
+
boolselected_control_surface_disarmed# [-] flag indicating whether selected actuators should kept disarmed (have to be configured in control allocation)
0 commit comments