PittSailbot / Sailbot

University of Pittsburgh's Sailbot Club (2019-2025)! Competing at the annual International Robotic Sailing Regatta. https://www.sailbot.org/
https://pittsailbot.github.io
Other
4 stars 1 forks source link

Update focus() to work on GPS coordinates #23

Open aaron4522 opened 1 year ago

aaron4522 commented 1 year ago

In camera.py, focus() works by moving the camera until a detection is in the center of the frame. Because the boat is constantly moving, there is a decent chance that detection will not be in frame, especially if there is a significant time difference between capture() and focus() being called.

Achieving this will give us more precision for search/precision nav.