Compare commits

..

No commits in common. "e4821b3c6fd338170c40570efde6bd87425746a9" and "ded055a7903d5ac77cf57494c939e071531a27fc" have entirely different histories.

3 changed files with 5 additions and 5 deletions

4
app.py
View File

@ -9,8 +9,8 @@ import kuukar.kuukar_environment as kuukar_environment
from kuukar.kuukar_config import SERIAL_MCU, SERIAL_DRV
mcu = telemetrix_rpi_pico.TelemetrixRpiPico(com_port=SERIAL_MCU, sleep_tune=0.001)
drv = telemetrix_rpi_pico.TelemetrixRpiPico(com_port=SERIAL_DRV, sleep_tune=0.001)
mcu = telemetrix_rpi_pico.TelemetrixRpiPico(com_port=SERIAL_MCU)
drv = telemetrix_rpi_pico.TelemetrixRpiPico(com_port=SERIAL_DRV)
sensors = kuukar_sensors.sensors(mcu)
leds = kuukar_leds.leds(mcu)
motion = kuukar_motion.motion(mcu, drv, leds, sensors)

View File

@ -79,5 +79,5 @@ class leds:
print(leds.__blink_func(self.__get_time(), duration))
time.sleep(0.05)
if self.__get_time() > duration:
self.flashing = False
flashing = False
break

View File

@ -110,7 +110,6 @@ class motion:
while True:
if self.roaming:
self.__roam_handle()
time.sleep(0.3)
def __roam_handle(self):
sensitivity = 35
@ -151,3 +150,4 @@ class motion:
self.drive(drive_speed)
if not self.roaming:
self.stop()
time.sleep(0.3)