diff --git a/src/modules/fw_mode_manager/runway_takeoff/CMakeLists.txt b/src/modules/fw_mode_manager/runway_takeoff/CMakeLists.txt index 6e493574c7..1edfdd406c 100644 --- a/src/modules/fw_mode_manager/runway_takeoff/CMakeLists.txt +++ b/src/modules/fw_mode_manager/runway_takeoff/CMakeLists.txt @@ -34,3 +34,4 @@ px4_add_library(runway_takeoff RunwayTakeoff.cpp ) +set_property(GLOBAL APPEND PROPERTY PX4_MODULE_CONFIG_FILES ${CMAKE_CURRENT_SOURCE_DIR}/runway_takeoff_params.yaml) diff --git a/src/modules/fw_mode_manager/runway_takeoff/runway_takeoff_params.yaml b/src/modules/fw_mode_manager/runway_takeoff/runway_takeoff_params.yaml new file mode 100644 index 0000000000..27e88cadee --- /dev/null +++ b/src/modules/fw_mode_manager/runway_takeoff/runway_takeoff_params.yaml @@ -0,0 +1,80 @@ +module_name: runway_takeoff +parameters: +- group: Runway Takeoff + definitions: + RWTO_TKOFF: + description: + short: Runway takeoff with landing gear + type: boolean + default: 0 + RWTO_MAX_THR: + description: + short: Throttle during runway takeoff + type: float + default: 1.0 + unit: norm + min: 0.0 + max: 1.0 + decimal: 2 + increment: 0.01 + RWTO_PSP: + description: + short: Pitch setpoint during taxi / before rotation + long: |- + Pitch setpoint during taxi / before takeoff rotation airspeed is reached + + A taildragger with steerable wheel might need to pitch up + a little to keep its wheel on the ground before airspeed + to takeoff is reached. + type: float + default: 0.0 + unit: deg + min: -10.0 + max: 20.0 + decimal: 1 + increment: 0.5 + RWTO_RAMP_TIME: + description: + short: Throttle ramp up time for runway takeoff + type: float + default: 2.0 + unit: s + min: 1.0 + max: 15.0 + decimal: 2 + increment: 0.1 + RWTO_NUDGE: + description: + short: Enable yaw stick nudging during runway ground roll + long: |- + Enable use of yaw stick for nudging the wheel during runway ground roll + + This is useful when map, GNSS, or yaw errors on ground are misaligned with what the operator intends for takeoff course. + Particularly useful for skinny runways or if the wheel servo is a bit off trim. + type: boolean + default: 1 + RWTO_ROT_AIRSPD: + description: + short: Takeoff rotation airspeed + long: |- + The calibrated airspeed threshold during the takeoff ground roll when the plane should start rotating (pitching up). + Must be less than the takeoff airspeed, will otherwise be capped at the takeoff airpeed (see FW_TKO_AIRSPD). + + If set <= 0.0, defaults to 0.9 * takeoff airspeed (see FW_TKO_AIRSPD) + type: float + default: -1.0 + unit: m/s + min: -1.0 + decimal: 1 + increment: 0.1 + RWTO_ROT_TIME: + description: + short: Takeoff rotation time + long: This is the time desired to linearly ramp in takeoff pitch constraints + during the takeoff rotation + type: float + default: 1.0 + unit: s + min: 0.1 + decimal: 1 + increment: 0.1