intel / mavlink-vehicles

A Mavlink wrapper dedicated to the most common messages that are exchanged between an air vehicle and a ground station
Apache License 2.0
6 stars 9 forks source link

Implement function to continue the mission immediately #21

Open guiccbr opened 7 years ago

guiccbr commented 7 years ago

The 'auto-continue' argument of brake() says if the vehicle should auto-continue to the previous mission after achieving a complete stop. In case brake is called as brake(false), the vehicle does not auto-continue, as expected. However, there is no simple way to trigger an on-demand continue after the brake(false) command has been sent. .

A public continue() function should be implemented to solve that problem.

Note: The 'auto-continue' argument is not exclusive to brake(). When implementing continue(), make sure it is capable of recovering from the last mission state after anyone of the commands with optional auto-continuation has been sent.