forked from Archive/PX4-Autopilot
Fix timestamp on rates_sp
This commit is contained in:
parent
ccf0916f16
commit
d1fd1bbbf7
|
@ -247,6 +247,8 @@ void multirotor_control_attitude(const struct vehicle_attitude_setpoint_s *att_s
|
|||
}
|
||||
|
||||
rates_sp->thrust = att_sp->thrust;
|
||||
//need to update the timestamp now that we've touched rates_sp
|
||||
rates_sp->timestamp = hrt_absolute_time();
|
||||
|
||||
motor_skip_counter++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue