mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 00:34:07 +08:00
Fix format
This commit is contained in:
parent
5238537e65
commit
c49fea2a54
@ -459,7 +459,7 @@ void FixedwingIndiPosControl::Run()
|
||||
|
||||
Vector3f closest_point = progress * progress_vector + segment_start;
|
||||
pos_ref_ = closest_point;
|
||||
vel_ref_ = 15.0f* progress_vector;
|
||||
vel_ref_ = 15.0f * progress_vector;
|
||||
|
||||
// Compute bodyrate commands
|
||||
Vector3f rate_command = computeIndi(pos_ref_, vel_ref_, acc_ref_);
|
||||
|
||||
@ -103,31 +103,31 @@ PARAM_DEFINE_FLOAT(FW_INDI_KP_Z, 1.0f);
|
||||
* @increment 0.1
|
||||
* @group FW DYN SOAR Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(FW_INDI_KV_X, 0.1f);
|
||||
PARAM_DEFINE_FLOAT(FW_INDI_KV_X, 0.1f);
|
||||
|
||||
/**
|
||||
* control gain of position PD-controller (body x-direction)
|
||||
*
|
||||
* @unit
|
||||
* @min 0
|
||||
* @max 100
|
||||
* @decimal 1
|
||||
* @increment 0.1
|
||||
* @group FW DYN SOAR Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(FW_INDI_KV_Y, 0.1f);
|
||||
/**
|
||||
* control gain of position PD-controller (body x-direction)
|
||||
*
|
||||
* @unit
|
||||
* @min 0
|
||||
* @max 100
|
||||
* @decimal 1
|
||||
* @increment 0.1
|
||||
* @group FW DYN SOAR Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(FW_INDI_KV_Y, 0.1f);
|
||||
|
||||
/**
|
||||
* control gain of position PD-controller (body x-direction)
|
||||
*
|
||||
* @unit
|
||||
* @min 0
|
||||
* @max 100
|
||||
* @decimal 1
|
||||
* @increment 0.1
|
||||
* @group FW DYN SOAR Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(FW_INDI_KV_Z, 0.1f);
|
||||
/**
|
||||
* control gain of position PD-controller (body x-direction)
|
||||
*
|
||||
* @unit
|
||||
* @min 0
|
||||
* @max 100
|
||||
* @decimal 1
|
||||
* @increment 0.1
|
||||
* @group FW DYN SOAR Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(FW_INDI_KV_Z, 0.1f);
|
||||
|
||||
/**
|
||||
* control gain of attitude PD-controller (body roll-direction)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user