Hello.
I’m trying to perform object avoidance using 3 HC-SR04 sensors connected to a raspberry pi 4 in my quadcopter and I have set up all the parameters as indicated in the documentation at Object Avoidance with Bendy Ruler — Copter documentation , but when I upload a mission and switch to AUTO mode, the drone takes off as indicated in the mission, but then stops in place and does not execute the rest of the commands in the mission. Any ideas on how to solve this?
Here’s the code i’m testing with:
object_avoidance.txt (2.4 KB)
Thank you in advance.