mirror of https://github.com/ArduPilot/ardupilot
Tracker: let AHRS update orientation in its own time
This commit is contained in:
parent
e9e52304c6
commit
5fc4c9dc5c
|
@ -81,9 +81,6 @@ void Tracker::get_scheduler_tasks(const AP_Scheduler::Task *&tasks,
|
||||||
|
|
||||||
void Tracker::one_second_loop()
|
void Tracker::one_second_loop()
|
||||||
{
|
{
|
||||||
// make it possible to change orientation at runtime
|
|
||||||
ahrs.update_orientation();
|
|
||||||
|
|
||||||
// sync MAVLink system ID
|
// sync MAVLink system ID
|
||||||
mavlink_system.sysid = g.sysid_this_mav;
|
mavlink_system.sysid = g.sysid_this_mav;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue