mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 04:31:36 +08:00
MC att control: Add time constant to simplify user-tuning of basic vehicle operation
This commit is contained in:
@@ -39,6 +39,28 @@
|
||||
* @author Anton Babushkin <anton@px4.io>
|
||||
*/
|
||||
|
||||
/**
|
||||
* Roll time constant
|
||||
*
|
||||
* Reduce if the system is too twitchy, increase if the response is too slow and sluggish.
|
||||
*
|
||||
* @min 0.15
|
||||
* @max 0.25
|
||||
* @group Multicopter Attitude Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MC_ROLL_TC, 0.2f);
|
||||
|
||||
/**
|
||||
* Pitch time constant
|
||||
*
|
||||
* Reduce if the system is too twitchy, increase if the response is too slow and sluggish.
|
||||
*
|
||||
* @min 0.15
|
||||
* @max 0.25
|
||||
* @group Multicopter Attitude Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MC_PITCH_TC, 0.2f);
|
||||
|
||||
/**
|
||||
* Roll P gain
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user