mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 17:18:28 -04:00
AP_Compass: fixed compass timestamps in Replay
This commit is contained in:
parent
dc3fdf76a3
commit
d7000c4105
@ -607,6 +607,7 @@ void Compass::setHIL(float roll, float pitch, float yaw)
|
|||||||
void Compass::setHIL(const Vector3f &mag)
|
void Compass::setHIL(const Vector3f &mag)
|
||||||
{
|
{
|
||||||
_hil.field = mag;
|
_hil.field = mag;
|
||||||
|
_last_update_usec = hal.scheduler->micros();
|
||||||
}
|
}
|
||||||
|
|
||||||
const Vector3f& Compass::getHIL() const {
|
const Vector3f& Compass::getHIL() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user