Ping sonar and navigation

hai everyone,
can i use my Pingsonar data to control my ROV ?

Hi,

You can explain it a bit more ? What is your idea and what you want to accomplish ?
Can you share with us what is your big picture ? :wink:

Hi patrick,

i am planning to add one more mode in Ardusub like depthhold. what i want is, i should be able to fed ping sonar data to raspberry pi and finally to pixhawk, then ROV will always keep a constant distance from the object. is it possible?

@sudheeshk Do you have managed to accomplish it? I am working on a similar project and need a bit of guidance.

Just for your information, it is now possible to fed ping sonar data to Pixhauk and see them on QGround Control.

Hi Loannis,

I tried to achieve this and I couldn’t complete it as expected.
First I have created a new mode called distance_hold. When the ROV enters this mode, ping sonar distance will be taken as the ’ Set value ’ and PID was used to control the thruster movement to make the vehicle at the Set Value distance . I tried to Tune the PID and what i have found is , the sensor response is slow. That is it will give output only after the ROv is moved. So i didn’t get the result as expected.

Any suggestions to improve this project is greatly appreciated.

Hi,

I’m trying to the same, with 3 ping sensors i want to keep a steady 1 meter distance.
Would it be possible to share code, so i can see what you ended up doing?

Best Regards
Hans Petter