Tracker: fix sim_vehicle.py with --tracker option

This commit is contained in:
Peter Barker 2022-03-16 10:24:27 +11:00 committed by Andrew Tridgell
parent 21ec47f184
commit 7d23d37630
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ void Tracker::init_ardupilot()
// setup telem slots with serial ports
gcs().setup_uarts();
// update_send so that if the first packet we receive happens to
// be an arm message we don't trigger an internal error when we
// try to initialise stream rates in the main loop.
gcs().update_send();
#if LOGGING_ENABLED == ENABLED
log_init();