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.
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.