Matchstic/stanley

delay question

Opened this issue · 2 comments

In command.py part, do we need to use time.sleep() or use vehicle.flush(), make sure out command is done?
Can the mavlink message be flashed?

Have a nice day~

Looking at my code again for that file, I’m using vehicle.flush() to make sure the command is sent quickly. Not doing that also seems to work, which makes me think the MAVLink library I use is also doing it behind the scenes too

If I send mavlink messages at high frequency, do you think the old mavlink message will be covered by current mavlink message?