mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 10:23:34 +08:00
re-added turn coordination gains (TESTING CODE)
This commit is contained in:
@@ -119,10 +119,10 @@ FixedwingPositionINDIControl::parameters_update()
|
||||
_K_a(2,2) = _param_lin_ff_z.get();
|
||||
_K_q(0,0) = _param_rot_k_roll.get();
|
||||
_K_q(1,1) = _param_rot_k_pitch.get();
|
||||
_K_q(2,2) = 0.f; // rudder is controlled via turn coordination, not INDI
|
||||
_K_q(2,2) = _param_rot_k_yaw.get(); // rudder is controlled via turn coordination, not INDI
|
||||
_K_w(0,0) = _param_rot_c_roll.get()*2.f*sqrtf(_param_rot_k_roll.get());
|
||||
_K_w(1,1) = _param_rot_c_pitch.get()*2.f*sqrtf(_param_rot_k_pitch.get());
|
||||
_K_w(2,2) = 0.f; // rudder is controlled via turn coordination, not INDI
|
||||
_K_w(2,2) = _param_rot_c_yaw.get()*2.f*sqrtf(_param_rot_k_yaw.get()); // rudder is controlled via turn coordination, not INDI
|
||||
|
||||
// aircraft parameters
|
||||
_inertia(0,0) = _param_fw_inertia_roll.get();
|
||||
|
||||
Reference in New Issue
Block a user