Quantcast
Channel: ArduPilot Discourse - Latest topics
Viewing all articles
Browse latest Browse all 46071

Using Sonar for object avoidance On arduRover

$
0
0

Hi everyone,

I plan to build a Rover to run on the roof, so I am worry about the rove will drop from the roof. I want to use Sonars HC-SR04, to detect the out of the roof situation, for example, the sonars is mounted toward the roof, if in the roof, the distance is 8cm, if out of the roof, the distance is larger than 10cm. then my rover will backward 20cm and turn right.

and if my rover is running with the mode of auto, and was set waypoint, but because the GPS precision, it may go out the roof and drop. so during the auto mode, how can I integrate the sonars to the ardupilot firmware to guide the rover backward 20cm, turn right and auto running along the waypoint again?

Can someone give me some advice or ideas?

Thanks a lot!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 46071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>