Now that we know how to monitor the netbook’s battery status we can use similar logic to monitor Kobuki’s battery status.
On TurtleBot run:
On the workstation run:
Now, try manually moving TurtleBot on and off the docking station.
Determine the Maximum Charge Value of the Kobuki Base
There are multiple batteries that are used in the Kobuki base. The percentage of power is calculated using a
fixed kobuki_base_max_charge value in kobuki_battery.py.
To determine your battery maximum, charge it to full by leaving it on the docking station for an extended period, then on TurtleBot run:
Note the battery’s value, and edit kobuki_battery.py:
kobuki_base_max_charge value. The percentage power will now calculate correctly.