Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vehicle.flush() #1186

Open
x123y123 opened this issue Apr 9, 2023 · 1 comment
Open

vehicle.flush() #1186

x123y123 opened this issue Apr 9, 2023 · 1 comment

Comments

@x123y123
Copy link

x123y123 commented Apr 9, 2023

Can I ask a question about :
"what situation we will use vehicle.flush() after vehicle.send_mavlink()"?

@TongBingda
Copy link

In init.py, the vehicle.flush() method is deprecated. It has been replaced by :py:func:`Vehicle.commands.upload().
You can call vehicle.upload() method after vehicle.commands.add() method.
I don't think I need to do anything else after executing vehicle.send_mavlink() because I usually set the vehicle in GUIDED mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants