Welcome to DOGZILLA-Lite repository
10. Battery level reading
Battery level reading
1. Purpose of the experiment
Realize the reading of battery power.
2. Experimental path source code
Enter the dog's system, end the dog program, enter "ip (ip is the dog's ip): 8888" in the browser, enter the password "yahboom"
and log in to the path of cd ~/DOGZILLA_Lite_class/2.Base Control/10.Read Battery and run Read Battery.ipynb .
3. Experimental Phenomenon
After running the code, the underlying battery power data can be printed out

4. Main source code analysis
while True: print(dog.read_battery()) time.sleep(1)Through the API interface, read the underlying IMU data and print it out.