Skip to Content
Hands-On ROS for Robotics Programming
book

Hands-On ROS for Robotics Programming

by Bernardo Ronquillo Japón
February 2020
Intermediate to advanced
432 pages
10h 50m
English
Packt Publishing
Content preview from Hands-On ROS for Robotics Programming

Battery level

The following command reads and displays the current battery voltage. It should be above 9 V for GoPiGo3 to work properly. When the batteries are not charged enough, you will lose the Wi-Fi connection with the robot and you will have to recharge them or replace them with new batteries:

print("Battery voltage : ", GPG.get_voltage_battery() )OUTPUT ===> Battery voltage : 9.114

Next, we will look at hardware information and voltage levels.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering ROS for Robotics Programming

Mastering ROS for Robotics Programming

Lentin Joseph
ROS Robotics By Example - Second Edition

ROS Robotics By Example - Second Edition

Lentin Joseph, Carol Fairchild, Dr. Thomas L. Harman

Publisher Resources

ISBN: 9781838551308Supplemental Content