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

Fix ROS/Direct access Frankenstein mix #24

Closed aaron4522 closed 9 months ago

aaron4522 commented 1 year ago

Two ways of reading sensor data are using ROS callbacks or direct access of variables. Sailbot started off with direct access and calling update methods, I changed much of the repo to use properties which removes the need for update functions. Simultaneously Tom has been implementing ROS callbacks for sensors. These can be used fine together but committing to a standard approach would reduce complexity.

Achieving this will reduce the burden of knowledge for new peeps. Also cleans up the repo and maintaining/bugfixing one system is easier than two.