Closed sparthaje closed 4 years ago
Issue #16
Added a thread to contain the power_watchdog method.
power_watchdog
Change get_battery_bus_volts in eps/ init .py to from random import randint power_levels = [8.2, 7.6, 0] pl = randint(0, 2) return power_levels[pl]
get_battery_bus_volts
from random import randint
power_levels = [8.2, 7.6, 0]
pl = randint(0, 2)
return power_levels[pl]
Run start from core module
start
core/__init__.py
also, can you delete .pylintrc and the scripts/ directory before merging
.pylintrc
scripts/
Properly handle power switching
Issue #16
Description
Added a thread to contain the
power_watchdog
method.Steps to Reproduce
Change
get_battery_bus_volts
in eps/ init .py tofrom random import randint
power_levels = [8.2, 7.6, 0]
pl = randint(0, 2)
return power_levels[pl]
Run
start
from core moduleAffected Areas
core/__init__.py
(added the thread)