SOAR-UWU / UWU-Blobfish

General repo for Underwater Unit 2024
6 stars 0 forks source link

Keypress echo topic to make keypress responses clearer #25

Closed Interpause closed 2 weeks ago

Interpause commented 1 month ago

Currently, each node's response to /keypress is printed out using the default ros logger and can get drowned out in all the info messages.

Create a topic like /keypress/log that lets nodes send their keypress response info (like h for help or i for status info) to the keypress node, which will print it out separately. This is given the keypress node has to be started separately anyways to receive stdin properly.

Alternatively, if wishing to integrate the keypress node into launch, perhaps have it spawn a separate terminal, exist as an RQT plugin, or otherwise have a simple GUI?