xiaochen-2050 / megapirateng

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

Sonar at Mission Planner CLI works but not appearing in flight data #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. the used sonar is the HC-SR04 on CRIUS AIOP v2
2. with activated Sonar (all kind of types tested)
3. at the CLI console the module works great fine! The range increases and 
decreaese perfectly and in fine resolution from 5cm up to 300cm and more and 
also back again...

What is the expected output? What do you see instead?
When the sonar works fine in the CLI, it should be work also fine in the GUI 
and should be seen at the Tuning Graph as Altitude, Sonarrange or Sonarvoltage. 
If it will not work on the GUI (flight data), it will not work on a flight.
When I look at the tuning graph with selected curves "Altitude, Sonarrange and 
Sonarvoltage" I only can watch flatlines..

What version of the MegaPirateNG are you using?
MegaPirateNG V2.9.1b R8.158 2013/07/01 on CRIUS AIOP v2
Mission Planner ist also the newest Version v1.2.66

Please provide any additional information below.
I have had some other problems with setting up the board...
all kind of problems get fixed by reading on this sites and other forums/wikis. 
A BIG COMPLIMENT TO AL OF YOU!!

But with this problem I'm overchallenged. I could only find a few 
informations... without any solution or with guys who had the same problem, for 
example:
http://diydrones.com/forum/topics/sonar-not-appearing-in-flight-data

I'm not shure, if this problem is right placed on this site. But I'm really 
frustrated :-|

many thanks!!

Original issue reported on code.google.com by hftech...@gmail.com on 7 Aug 2013 at 9:18

GoogleCodeExporter commented 9 years ago
Hi!

Starting Arducopter 2.9, sonar reading not affected on Altitude you can seen in 
GUI. Altitude only calculated by Baro & Z Accelerometer.

So all works as expected. (Read ArduCopter manual)

Original comment by Alexey.K...@gmail.com on 8 Aug 2013 at 6:39