Hi Guys,
I have installed a MB1200 XL-MaxSonar-EZ0 to my Quad and it appears to be working in mission planner, but I cannot get it to work in flight.
I have installed the sonar on a plastic tab about 3 inches away from the body and followed the instructions as per the manual http://code.google.com/p/arducopter/wiki/AC2_Sonar
I have ensured that I have enables the correct sonar model in the Hardware Options in Mission Planner
I ran the test in Mission Planner - terminal CLI - test - sonar and which reads 70cms which is about the height the quad is during the test as I had it on a bench. When I place my hand under the sonar or if I raise the quad during the test it clearly displays a change in the test data.
On my TX I have set channels 5 as Alt Hold and Channel 6 as Pos Hold to test it the sonar and I am flying the quad about 4 meters of the ground but when I engage either pos 5 or 6 it has no effect at all.
I have scrolled the forums looking for more information about setting up sonar but I seem to have covered all the points raised in the forums.
Any ideas, have I missed something? I have not changed any PIDs after installing the sonar as I have not yet mastered PID tuning.
Cheers Dean
Replies
Have you verified that you are indeed in Alt Hold mode? (Check MP if you have telemetry or logs). Even if the sonar wasn't enabled, the baro should hold altitude pretty well.