Where do I publish a robot's status?
I would like to trigger a LED or another indicator when ROS is running and or a specific package is ready.
Would I do this as a service or a message? How would I track it when its not ready any longer?
I'd also Like to create an indicator when an action is running or completed. As above would i create my own message type and pub sub to that - if so when?
Anyone point me to some tutorials that can help me accomplish this?
Keith
If you're using actions you could write a custom node that subscribes to the goal and feedback/status topics. Based on the msgs being published on those you could control your led.
But that would be rather low-level.
Problem is: there is no universally accepted 'way' to determine or encode ..
.. whether 'a robot' is performing some task or not.
For example: some robot control systems use statemachines extensively. In those cases, observing the active state could indicate whether the robot is performing some task. But if your software doesn't use statemachines, that won't work.