mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 13:33:33 +08:00
Allow negative differential pressure if parameter enabled (#24434)
This commit is contained in:
@@ -87,6 +87,18 @@ PARAM_DEFINE_FLOAT(CAL_AIR_TUBED_MM, 1.5f);
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(SENS_DPRES_OFF, 0.0f);
|
||||
|
||||
/**
|
||||
* Reverse differential pressure sensor readings
|
||||
*
|
||||
* Reverse the raw measurements of all differential pressure sensors.
|
||||
* This can be enabled if the sensors have static and dynamic ports swapped.
|
||||
*
|
||||
* @category system
|
||||
* @group Sensor Calibration
|
||||
* @boolean
|
||||
*/
|
||||
PARAM_DEFINE_INT32(SENS_DPRES_REV, 0);
|
||||
|
||||
/**
|
||||
* Differential pressure sensor analog scaling
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user