mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-27 23:34:07 +08:00
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…
x
Reference in New Issue
Block a user