mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-14 05:40:34 +08:00
IMU_GYRO_RATEMAX: enforce reasonable constraint and update metadata
This commit is contained in:
@@ -83,14 +83,15 @@ PARAM_DEFINE_FLOAT(IMU_GYRO_NF_BW, 20.0f);
|
||||
PARAM_DEFINE_FLOAT(IMU_GYRO_CUTOFF, 30.0f);
|
||||
|
||||
/**
|
||||
* Gyro control data maximum publication rate
|
||||
* Gyro control data maximum publication rate (inner loop rate)
|
||||
*
|
||||
* This is the maximum rate the gyro control data (sensor_gyro) will be allowed to publish at.
|
||||
* Set to 0 to disable and publish at the native sensor sample rate.
|
||||
* The maximum rate the gyro control data (vehicle_angular_velocity) will be
|
||||
* allowed to publish at. This is the loop rate for the rate controller and outputs.
|
||||
*
|
||||
* @min 0
|
||||
* Note: sensor data is always read and filtered at the full raw rate (eg commonly 8 kHz) regardless of this setting.
|
||||
*
|
||||
* @min 100
|
||||
* @max 2000
|
||||
* @value 0 0 (driver minimum)
|
||||
* @value 100 100 Hz
|
||||
* @value 250 250 Hz
|
||||
* @value 400 400 Hz
|
||||
|
||||
Reference in New Issue
Block a user