From e29dce3d191c3f867cdb3b645f40ac0a63e4e22a Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Fri, 19 Feb 2016 20:52:46 +0100 Subject: [PATCH] Update fact meta data for PX4 --- .../PX4/AirframeFactMetaData.xml | 4 + .../PX4/ParameterFactMetaData.xml | 93 ++++++++++++++++--- 2 files changed, 83 insertions(+), 14 deletions(-) diff --git a/src/AutoPilotPlugins/PX4/AirframeFactMetaData.xml b/src/AutoPilotPlugins/PX4/AirframeFactMetaData.xml index 6b9ebade8..f96214956 100644 --- a/src/AutoPilotPlugins/PX4/AirframeFactMetaData.xml +++ b/src/AutoPilotPlugins/PX4/AirframeFactMetaData.xml @@ -226,6 +226,10 @@ Andreas Antener <andreas@uaventure.com> Quadrotor x + + Blankered + Quadrotor x + diff --git a/src/AutoPilotPlugins/PX4/ParameterFactMetaData.xml b/src/AutoPilotPlugins/PX4/ParameterFactMetaData.xml index cbeae445e..cae0834da 100644 --- a/src/AutoPilotPlugins/PX4/ParameterFactMetaData.xml +++ b/src/AutoPilotPlugins/PX4/ParameterFactMetaData.xml @@ -720,6 +720,25 @@ velocity 1.0 SD + + Integer bitmask controlling handling of magnetic declination. Set bits to in the following positions to enable functions. +0 : Set to true to use the declination from the geo_lookup library when the GPS position becomes available, set to false to always use the EKF2_MAG_DECL value. +1 : Set to true to save the EKF2_MAG_DECL parameter to the value returned by the EKF when the vehicle disarms. +2 : Set to true to always use the declination as an observaton when 3-axis magnetometer fusion is being used + 0 + 7 + + + + Integer controlling the type of magnetometer fusion used - magnetic heading or 3-axis magnetometer. +0 : determine the best fusion method to use automatically - heading fusion on-ground and 3-axis fusion in-flight +1 : always use magnetic heading fusion +2 : always use 3-axis fusion +Other values will disable magnetometer fusion completely + 0 + 2 + None + Gate size for barometric height fusion 1.0 @@ -1149,6 +1168,12 @@ velocity 0.0 1.0 + + Idle throttle + This is the minimum throttle while on the ground For aircraft with internal combustion engine this parameter should be set above desired idle rpm. + 0.0 + 0.4 + Throttle limit value before flare This throttle value will be set as throttle limit at FW_LND_TLALT, before arcraft will flare. @@ -1265,7 +1290,7 @@ velocity Motor delay - Delay between starting attitude control and powering up the throttle (giving throttle control to the controller) Before this timespan is up the throttle will be set to LAUN_THR_PRE, set to 0 to deactivate + Delay between starting attitude control and powering up the throttle (giving throttle control to the controller) Before this timespan is up the throttle will be set to FW_THR_IDLE, set to 0 to deactivate 0 seconds @@ -1276,12 +1301,6 @@ velocity 45 deg - - Throttle setting while detecting launch - The throttle is set to this value while the system is waiting for the take-off. - 0 - 1 - @@ -1479,6 +1498,17 @@ velocity 0 3 + + Time in seconds we wait on reaching target heading at a waypoint if it is forced + If set > 0 it will ignore the target heading for normal waypoint acceptance. If the waypoint forces the heading the timeout will matter. For example on VTOL forwards transiton. Mainly useful for VTOLs that have less yaw authority and might not reach target yaw in wind. Disabled by default. + -1 + 20 + + + Max yaw error in degree needed for waypoint heading acceptance + 0 + 90 + Loiter radius (FW only) Default value of loiter radius for missions, loiter, RTL, etc. (fixedwing only). @@ -1797,6 +1827,24 @@ velocity 1.0 3 + + Hover thrust + Vertical thrust required to hover. This value is mapped to center stick for manual throttle control. With this value set to the thrust required to hover, transition from manual to ALTCTL mode while hovering will occur with the throttle stick near center, which is then interpreted as (near) zero demand for vertical speed. + 0.2 + 0.8 + + + ALTCTL throttle curve breakpoint + Halfwidth of deadband or reduced sensitivity center portion of curve. This is the halfwidth of the center region of the ALTCTL throttle curve. It extends from center-dz to center+dz. + 0.0 + 0.2 + + + ALTCTL throttle curve breakpoint height + Controls the slope of the reduced sensitivity region. This is the height of the ALTCTL throttle curve at center-dz and center+dz. + 0.0 + 0.2 + Maximum thrust in auto thrust control Limit max allowed thrust. Setting a value of one can put the system into actuator saturation as no spread between the motors is possible any more. A value of 0.8 - 0.9 is recommended. @@ -1944,13 +1992,6 @@ velocity % 2 - - Deadzone of Z stick where altitude hold is enabled - 0.0 - 1.0 - % - 2 - Maximum horizontal velocity for which position hold is enabled (use 0 to disable check) 0.0 @@ -3513,6 +3554,12 @@ FW_AIRSPD_MIN * RWTO_AIRSPD_SCL 0 1 + + UTC offset (unit: min) + the difference in hours and minutes from Coordinated Universal Time (UTC) for a your place and date. for example, In case of South Korea(UTC+09:00), UTC offset is 540 min (9*60) refer to https://en.wikipedia.org/wiki/List_of_UTC_time_offsets + -1000 + 1000 + @@ -3884,6 +3931,8 @@ FW_AIRSPD_MIN * RWTO_AIRSPD_SCL 921600 true + Telemetry (57600 baud, 8N1) + Command Receiver (57600 baud, 8N1) Companion Link (57600 baud, 8N1) Companion Link (921600 baud, 8N1) OSD (57600 baud, 8N1) @@ -4041,6 +4090,22 @@ FW_AIRSPD_MIN * RWTO_AIRSPD_SCL 0 1 + + Enable weather-vane mode landings for missions + 0 + 1 + + + Weather-vane yaw rate scale + The desired yawrate from the controller will be scaled in order to avoid yaw fighting against the wind. + 0 + 1 + + + Enable weather-vane mode for loiter + 0 + 1 + Front transition timeout Time in seconds after which transition will be cancelled. Disabled if set to 0. -- 2.22.0