Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Does rosservice support custom tab completion?

I am currently implementing a rosservice that changes settings for a device. Settings are represented to the user as two strings, a name and a value. For convenience, both of these are strings. For example:

rosservice call /set_setting BOOT_DEVICE USB1

Because the node knows ahead of time valid choices for both the setting names and the value, it would be useful if it could provide tab completion when a user is calling the service from the command line. Is this possible with ROS?