How to know the battery level and charging status?#
This section contains an overview of the power-related status data reported by your robot, as well as the ROS API and a brief description of the information available.
ROS API#
The robot’s power status is reported in the /power_status ROS topic.
Note
This node is launched by default on startup.
The following data is reported.
input
: the voltage coming from the batteries.charger
: the voltage coming from the charger.dock
: the voltage coming from the dock station (if available for your robot).pc
: the voltage coming from the PC.charge
: the percentage battery charge.is_connected
: whether the robot is currently connected to the charger.is_emergency
: whether the emergency stop button is currently enabled.
Checking power status from robot’s terminal#
To check the power status from the terminal subscribe to the /power_status topic.
$ rostopic echo /power_status
header:
seq: 30776
stamp:
secs: 1668011001
nsecs: 544433309
frame_id: "power_status"
input: 27.6
charger: 10.1
dock: 28.2
pc: 11.8
charge: 70
is_connected: False
is_emergency: False
Checking power status from the Web User Interface#
Access to the robot’s Web User Interface interface from a web browser (phone, tablet, laptop), with
pal
/pal
credentials: http://<robot>-0c:80/
(see Using the Web User Interface for more details).
On the top right side of the HOME tab, you will find whether the robot:
is with emergency button pressed or not;
is docked or not: if yes, it will light green;
the battery level: if higher than 20% it will be green, else red
Inside the Information Panel, the same information is provided but with more visibility:
Checking power status from WebCommander#
Using the WebCommander (http://robot-0c:8080/
), section, indicates the robot’s battery status. If the battery is
below 20% the corresponding Diagnostics
will be red.
The Power
section indicates if the robot is charging or not. If it is, it
will indicate Connected: Yes
.
Checking power status from the robot’s LEDs#
Some of PAL robots display their battery status via their LEDs colours.
In the case of ARI, the ears will blink between yellow and red when its battery is low. Otherwise, by default, they will be static light yellow.
See Meaning of ARI LEDs colors and patterns for additional information on ARI’s LEDs.
Charging the robot#
If the robot’s battery is low and it is not charging, ensure to charge it following the indications: