Sooner-Rover-Team / Autonomous

Utilities for controlling the rover - autonomously!
MIT License
0 stars 5 forks source link

Pre-competition `rover.py` refactor #8

Closed onkoe closed 4 months ago

onkoe commented 4 months ago

This refactor is a total rewrite of many parts of the Autonomous codebase. In the files that have seemed fallible for too long, we're writing an easier API.

More importantly, though, we plan to maintain the rover's current state as we take actions. This means that a Rover class progresses its various fields/members - each with its own state.

When we go from GPS navigation to ARUCO/YOLO navigation, it won't just be a broken for loop. Instead, its entire state changes, and another method runs entirely.

These changes all work together through the use of threads (and possibly multiprocessing). We'll see :)

onkoe commented 4 months ago

whoops meant to intend a merge into HappySad