AdityaSantosh / aeroquad

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

Problem with the true pressure calc in altitude.h #88

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I hope this isn't a red herring, but I think I found a problem with the true 
pressure calculation used in for the barometer... see 
http://aeroquad.com/showthread.php?1818-Altitude-hold-thoughts-from-a-NOOB&p=181
71&viewfull=1#post18171

Alan

Original issue reported on code.google.com by akadam...@gmail.com on 24 Jan 2011 at 6:19

GoogleCodeExporter commented 8 years ago
Hang on, don't do anything yet... this is really strange, still investigating...

Original comment by akadam...@gmail.com on 24 Jan 2011 at 7:21

GoogleCodeExporter commented 8 years ago
Ignore this, it seems there a differing equations based upon which oversampling 
mode you use and the datasheet is wrong.... darn people...

Original comment by akadam...@gmail.com on 24 Jan 2011 at 7:36

GoogleCodeExporter commented 8 years ago
Ted, delete this one completely, my bad, I thought I found and issue, then 
further went on to find that the datasheet was wrong around the formulas 
used.... Ours is still rather unique in that it isn't what other use, but it 
returns the correct values and it's the smallest code space wise... Actually, I 
know were a couple of bytes are to be had, but I'll leave that one alone for 
now and will post separate.... Anyway, sorry for the false alarm...

Original comment by akadam...@gmail.com on 24 Jan 2011 at 11:05

GoogleCodeExporter commented 8 years ago
Thanks for your vigilence, no worries.

Original comment by CaranchoEngineering@gmail.com on 31 Jan 2011 at 6:21