Open Froz3nArcher opened 7 years ago
There is currently no way to stop an activity using the prompt function
Ctrl-C would stop it ;-)
The other buttons are not fully implemented but could be used to stop the process.
A pull request is welcomed for improving the functionality of this package - though big changes would likely need to go into the lunar release.
RvizVisualTools.prompt
callsRemoteControl.waitForNextStep
, which callsRemoteControl.rvizDashboardCallback
. Theprompt
function gives no return, so there's no indication that of what the input was from the remote control.rvizDashboardCallback
can handle up to four inputs, butwaitForNextStep
only offers a boolean output, which is then lost in theprompt
function.waitForNextStep
andprompt
should be modified to propagate the user's desired response in order to correctly handle the interface. There is currently no way to stop an activity using theprompt
function - any response simple continues the sequence.