Ask Your Question

Revision history [back]

You can write a simple suscriber ( you can follow this tutorial ) that will suscribe to your battery state topic.

In the callback function you can access and display the voltage (for example) using msg->voltage . All the parameters you can access to are available here .