there is an example diagnostics.yaml in ps3joy. It now publishes battery status of the controller trac data: - Owner: **mwise** - Reporter: **mwise** - Reported at: **Thu Jun 23 16:13:00 2011** - URL: https://code.ros.org/trac/wg-ros-pkg/ticket/5130