From 0d1bb4844201f82de85fce44d07641c2f2c8e00a Mon Sep 17 00:00:00 2001 From: PX4BuildBot Date: Fri, 11 Oct 2019 06:30:58 +0000 Subject: [PATCH] Update PX4 Firmware metadata Fri Oct 11 06:30:58 UTC 2019 --- .../PX4/PX4ParameterFactMetaData.xml | 81 ++++++++++++++----- 1 file changed, 62 insertions(+), 19 deletions(-) diff --git a/src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml b/src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml index aff5056af..70435e765 100644 --- a/src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml +++ b/src/FirmwarePlugin/PX4/PX4ParameterFactMetaData.xml @@ -1101,6 +1101,49 @@ See COM_OBL_ACT and COM_OBL_RC_ACT to configure action m/s + + + Configure DShot + This enables/disables DShot. The different modes define different speeds, for example DShot150 = 150kb/s. Not all ESCs support all modes. Note: this enables DShot on the FMU outputs. For boards with an IO it is the AUX outputs. + True + + Disable (use PWM/Oneshot) + DShot150 + DShot300 + DShot600 + DShot1200 + + + + Minimum DShot Motor Output + Minimum Output Value for DShot in percent. The value depends on the ESC. Make sure to set this high enough so that the motors are always spinning while armed. + 0 + 1 + % + 2 + 0.01 + + + Serial Configuration for DShot Driver + Configure on which serial port to run DShot Driver. + true + + Disabled + UART 6 + TELEM 1 + TELEM 2 + TELEM 3 + TELEM/SERIAL 4 + GPS 1 + GPS 2 + Radio Controller + + + + Number of magnetic poles of the motors + Specify the number of magnetic poles of the motors. It is required to compute the RPM value from the eRPM returned with the ESC telemetry. Either get the number from the motor spec sheet or count the magnets on the bell of the motor (not the stator magnets). Typical motors for 5 inch props have 14 poles. + + Airfield home alt @@ -4023,6 +4066,25 @@ Used to calculate increased terrain random walk nosie due to movement + + + Multicopter air-mode + The air-mode enables the mixer to increase the total thrust of the multirotor in order to keep attitude and rate control even at low and high throttle. This function should be disabled during tuning as it will help the controller to diverge if the closed-loop is unstable (i.e. the vehicle is not tuned yet). Enabling air-mode for yaw requires the use of an arming switch. + + Disabled + Roll/Pitch + Roll/Pitch/Yaw + + + + Motor Ordering + Determines the motor ordering. This can be used for example in combination with a 4-in-1 ESC that assumes a motor ordering which is different from PX4. ONLY supported for Quads. When changing this, make sure to test the motor response without props first. + + PX4 + Betaflight / Cleanflight + + + Stabilize the mount (set to true for servo gimbal, false for passthrough). @@ -4210,15 +4272,6 @@ default 1.5 turns per second 1 5 - - Multicopter air-mode - The air-mode enables the mixer to increase the total thrust of the multirotor in order to keep attitude and rate control even at low and high throttle. This function should be disabled during tuning as it will help the controller to diverge if the closed-loop is unstable (i.e. the vehicle is not tuned yet). Enabling air-mode for yaw requires the use of an arming switch. - - Disabled - Roll/Pitch - Roll/Pitch/Yaw - - Battery power level scaler This compensates for voltage drop of the battery over time by attempting to normalize performance across the operating range of the battery. The copter should constantly behave as if it was fully charged with reduced max acceleration at lower battery percentages. i.e. if hover is at 0.5 throttle at 100% battery, it will still be 0.5 at 60% battery. @@ -4923,16 +4976,6 @@ the setpoint will be capped to MPC_XY_VEL_MAX - - Motor Ordering - Determines the motor ordering. This can be used for example in combination with a 4-in-1 ESC that assumes a motor ordering which is different from PX4. ONLY supported for Quads. ONLY supported for fmu output (Pixracer or Omnibus F4). When changing this, make sure to test the motor response without props first. - 0 - 1 - - PX4 - Betaflight / Cleanflight - - Minimum motor rise time (slew rate limit) Minimum time allowed for the motor input signal to pass through a range of 1000 PWM units. A value x means that the motor signal can only go from 1000 to 2000 PWM in maximum x seconds. Zero means that slew rate limiting is disabled. -- 2.22.0