Hello, I am trying to write code which takes input from various distance sensors mounted on the outside of the openRoV and uses the data to adjust the thrust in the motors to keep a constant distance from an object.
The first question I had was which sensors would be good to measure distance underwater as accurately as possible. I have tried using waterproof car backup sensors, however when used underwater they only read the minimum distance allowed on the sensor. I would like to try some type of laser distance sensing but I know IR is only going to be good for short distances and I’d like a range of at least 1-2.5m. So far the best thought I had was some type of sonar, so I was wondering what types of sensors would be good for this
Additionally, once I have the sensors I was wondering if I could connect them to the free I/O pins on the arduino, and once connected where do I look to control these sensors. I’d like to know which modules are used and which parts of the modules to change to use extra sensors
Finally, I was wondering which modules would I need to edit to add a control algorithm with these sensors and the thrusters without affecting the code already on the openROV
Also, if anyone knows where I can look for some type of document which describes each module and its function that would be amazing