fvaldesc / ardupirates

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

Sonar not work together with BMP #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I have be fly with R215 with success. Yesterday I have plug-in XL-MaxSonar and 
give a test. I get bad result, all motor run unstable and no alt hold at all. 
If I unplug the XL-MaxSonar, all Mode are working as normal. 

I also have test with R255 but get same result.

Original issue reported on code.google.com by saifulaz...@gmail.com on 24 Jan 2011 at 1:24

GoogleCodeExporter commented 9 years ago
You say you have flown r215 with success. Did you fly r215 with BMP and Sonar ?

As far as I know, with current versions you'll have to choose either one; BMP 
or Sonar.

Original comment by kidogof...@gmail.com on 24 Jan 2011 at 1:28

GoogleCodeExporter commented 9 years ago
Yes I flown r215 all the time. GPS + alt hold works, but it more aggressive 
than r162. I have ask lohnieh on Issue #7, he said BMP and Sonar suppose to 
work together. So I give a test and get bad result.

Original comment by saifulaz...@gmail.com on 24 Jan 2011 at 1:35

GoogleCodeExporter commented 9 years ago
Then let's see what Hein has to say. I'm CC-ing him here.

Original comment by kidogof...@gmail.com on 24 Jan 2011 at 10:01

GoogleCodeExporter commented 9 years ago
Thanks Kidogofoto

Original comment by saifulaz...@gmail.com on 25 Jan 2011 at 7:31

GoogleCodeExporter commented 9 years ago
I also experienced Alt hold issues either using only baro or only sonar. 
The copter just rises and never stops.
We have to investigate into this behaviour.

Original comment by emile.ca...@gmail.com on 27 Jan 2011 at 11:09

GoogleCodeExporter commented 9 years ago
Today I make some test with R458. First with Sonar + BMP. It look like the 
problem still there. The throttle will jumping2 around "unstable". Then I try 
to unplug the sonar and now the alt hold work. 

Original comment by saifulaz...@gmail.com on 1 Feb 2011 at 2:13

GoogleCodeExporter commented 9 years ago
Hi, I have success with r458, tuning the PID and it work on low and high 
altitude.
Thanks to all.

Original comment by saifulaz...@gmail.com on 7 Feb 2011 at 3:39

GoogleCodeExporter commented 9 years ago
Good, please post your modifications. Did you use both sonar and BMP?
Could you share your PID settings?
Emile

Original comment by emile.ca...@gmail.com on 7 Feb 2011 at 4:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Yes I use both sonar and BMP. First test with low alt then high alt. Both sonar 
and BMP works now. For sonar I lower the P to 0.5 I&D still default. Next I'll 
try to tune the I&D. For GPS P:0.010 I:0.001 D:0.090 Position P:0.08 I:0.06 
D:0.06

The day before I soak my sonar into water haha

Original comment by saifulaz...@gmail.com on 8 Feb 2011 at 4:01

GoogleCodeExporter commented 9 years ago
http://www.youtube.com/watch?v=jMi8KDYZWV4

Original comment by saifulaz...@gmail.com on 8 Feb 2011 at 7:37

GoogleCodeExporter commented 9 years ago
http://vimeo.com/19777546

Original comment by saifulaz...@gmail.com on 11 Feb 2011 at 4:37