Open x123y123 opened 1 year ago
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.
Can I ask a question about : "what situation we will use vehicle.flush() after vehicle.send_mavlink()"?