write trust setpoint to correct field for logging

This commit is contained in:
Andreas Antener
2015-03-25 11:58:01 +01:00
parent 7554eb515a
commit b361f7c81b
2 changed files with 4 additions and 4 deletions
@@ -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();