Add bot driving slower

This commit is contained in:
root 2021-11-12 19:17:14 +00:00
parent b2d025002e
commit c5dd14fb1f
3 changed files with 53 additions and 0 deletions

View file

@ -29,12 +29,14 @@ if spi_found:
from compLib.Spi import Spi
from compLib.Reset import Reset
from compLib.Encoder import Encoder
from compLib.Motor import Motor
import logging
print(f"\033[34mInitializing chipmunk board...\033[0m")
Reset.reset_bot()
Spi.health_check()
Spi.start_health_check_loop()
Motor.start_robot_state_loop()
Encoder.clear_all()
print(f"\033[34mReady\033[0m\n")
else: