mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 05:23:34 +08:00
write trust setpoint to correct field for logging
This commit is contained in:
@@ -1308,8 +1308,8 @@ MulticopterPositionControl::task_main()
|
||||
|
||||
/* save thrust setpoint for logging */
|
||||
_local_pos_sp.acc_x = thrust_sp(0);
|
||||
_local_pos_sp.acc_x = thrust_sp(1);
|
||||
_local_pos_sp.acc_x = thrust_sp(2);
|
||||
_local_pos_sp.acc_y = thrust_sp(1);
|
||||
_local_pos_sp.acc_z = thrust_sp(2);
|
||||
|
||||
_att_sp.timestamp = hrt_absolute_time();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user