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 :)
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 :)