dev #32

Merged
Atharv merged 123 commits from dev into atharv-dev 2025-10-31 11:56:39 +00:00
Showing only changes of commit 702e05e7f7 - Show all commits

View File

@@ -31,7 +31,7 @@ async def drive_forward():
async def monitor_distance():
"""Monitor ultrasonic sensor and stop when wall is detected."""
while True:
distance = lazer_ranger.distance()
distance = await lazer_ranger.distance()
print('Distancing...',distance)
if distance < WALL_DISTANCE: