From 91f1ac5c8877b3521fe397ce52063d36655a058a Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Fri, 6 May 2016 17:43:14 -0400 Subject: [PATCH] runway_takeoff_params.c param metadata --- src/lib/runway_takeoff/runway_takeoff_params.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/lib/runway_takeoff/runway_takeoff_params.c b/src/lib/runway_takeoff/runway_takeoff_params.c index aed95e99eb..c0e2d7db07 100644 --- a/src/lib/runway_takeoff/runway_takeoff_params.c +++ b/src/lib/runway_takeoff/runway_takeoff_params.c @@ -42,8 +42,6 @@ /** * Enable or disable runway takeoff with landing gear * - * 0: disabled, 1: enabled - * * @boolean * @group Runway Takeoff */ @@ -71,6 +69,8 @@ PARAM_DEFINE_INT32(RWTO_HDG, 0); * @unit m * @min 0.0 * @max 100.0 + * @decimal 1 + * @increment 1 * @group Runway Takeoff */ PARAM_DEFINE_FLOAT(RWTO_NAV_ALT, 5.0); @@ -79,8 +79,11 @@ PARAM_DEFINE_FLOAT(RWTO_NAV_ALT, 5.0); * Max throttle during runway takeoff. * (Can be used to test taxi on runway) * + * @unit norm * @min 0.0 * @max 1.0 + * @decimal 2 + * @increment 0.01 * @group Runway Takeoff */ PARAM_DEFINE_FLOAT(RWTO_MAX_THR, 1.0); @@ -94,6 +97,8 @@ PARAM_DEFINE_FLOAT(RWTO_MAX_THR, 1.0); * @unit deg * @min 0.0 * @max 20.0 + * @decimal 1 + * @increment 0.5 * @group Runway Takeoff */ PARAM_DEFINE_FLOAT(RWTO_PSP, 0.0); @@ -106,6 +111,8 @@ PARAM_DEFINE_FLOAT(RWTO_PSP, 0.0); * @unit deg * @min 0.0 * @max 60.0 + * @decimal 1 + * @increment 0.5 * @group Runway Takeoff */ PARAM_DEFINE_FLOAT(RWTO_MAX_PITCH, 20.0); @@ -118,6 +125,8 @@ PARAM_DEFINE_FLOAT(RWTO_MAX_PITCH, 20.0); * @unit deg * @min 0.0 * @max 60.0 + * @decimal 1 + * @increment 0.5 * @group Runway Takeoff */ PARAM_DEFINE_FLOAT(RWTO_MAX_ROLL, 25.0); @@ -127,8 +136,11 @@ PARAM_DEFINE_FLOAT(RWTO_MAX_ROLL, 25.0); * Pitch up will be commanded when the following airspeed is reached: * FW_AIRSPD_MIN * RWTO_AIRSPD_SCL * + * @unit norm * @min 0.0 * @max 2.0 + * @decimal 2 + * @increment 0.01 * @group Runway Takeoff */ PARAM_DEFINE_FLOAT(RWTO_AIRSPD_SCL, 1.3);