sriramgbhagwat / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

Sonar not working correctly #350

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Arducoper ACM
What steps will reproduce the problem?
1. plugging in the XL-EZL0 sonar and setting it
2. watching the sensor data for the altitude while manually moving the 
quadcopter

What is the expected output? What do you see instead?
I expect to see the altitude to be correct when moving the quadcopter up and 
down. I don't see any change in the altitude till about a foot and a half off 
the ground then I keep moving it up its not proportional to the increase in 
height. (move it up about a foot but only registers a half foot move)

What version of the product are you using? On what operating system?
I am running the APM 1 with the firmware 2.3

Please provide any additional information below.
I am able to put a volt meter on the sonar and can see that it is working by 
changing voltages when changing the altitude of the sonar. 

please advise if there is anything I should do or that can be done. Thanks for 
you help.

Original issue reported on code.google.com by MRP2...@gmail.com on 18 Feb 2012 at 3:12

GoogleCodeExporter commented 8 years ago
It really can't be a coding issue because it's working for many people.  Have 
you enabled the sonar through the APMission Planner?  I suspect you have.
Try using the CLI (click on the terminal button in APMissionPlanner), then type 
"test" and "sonar" and you should see it output the altitude according to the 
sonar.

By the way, the MaxBotix sonar's have a dead zone close to the sensor.  So they 
can't register a distance when it's very close so you will just see 24cm (or is 
it 40cm?).  This is because they use a single cone (like in a speaker i think) 
to both send and receive the ping.

Original comment by rmackay...@gmail.com on 18 Feb 2012 at 3:42

GoogleCodeExporter commented 8 years ago

Original comment by rmackay...@gmail.com on 26 Feb 2012 at 3:11