So arducopter supports rangefinders for obstacle avoidance, which is well documented in the wiki.
But since a multirotor pitches down upto 45 degree in flight, won’t the forward rangefinder reading get messed up at a low altitude?
Another question, (kind of unrelated) how to connect the hc sr04 ultrasonic sensor to the pixhawk since it is supported.
I only need it for experimental usage and not for obstacle avoidance etc.
The sensor operates at 5v and thus the echo signal is also at 5v. Wont the pixhawk pins get damaged at this voltage? The Wiki mentions nothing about this so is a level shifter needed or it will work?