mirror of https://github.com/ArduPilot/ardupilot
Plane: use new HIL compass API
This commit is contained in:
parent
db57c8d7c5
commit
0aa38a5bd4
|
@ -1914,6 +1914,7 @@ mission_failed:
|
|||
y *= 95446.0;
|
||||
|
||||
barometer.setHIL(Temp, y);
|
||||
compass.setHIL(packet.roll, packet.pitch, packet.yaw);
|
||||
break;
|
||||
}
|
||||
#endif // HIL_MODE
|
||||
|
|
Loading…
Reference in New Issue