Gathiyo / arducopter

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

compass wrong heading in firmware above then .049 #304

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
hardware:
quaid copter x (or + both tested)
APM + 5883L compass, no 200k resistor, 200 OM resistor on 3,3V for power 
stability

when test compass with megaplaner utility with visuals controls or CLI test 
compass: when i rotate compass (or compass with imu both) heading going from 20 
to 98 degrees only and show wrong heading

What steps will reproduce the problem?
1. i load ap_compass test pde and look heading for testing my hardware
and get correct result!!!
2. then i try load 2.049 firmware and look heading control in mission planer, 
result correct
3. in firmware 2.55 & 2.1 heading wrong !!!

What version of the product are you using? On what operating system?
- last version of megaplaner for windows used

Thanks

Original issue reported on code.google.com by alexeyko...@gmail.com on 21 Dec 2011 at 9:27

GoogleCodeExporter commented 8 years ago
Please try erasing your eeprom.  Alternatively it could be a problem with your 
mag offsets.  they get cleared when you upgrade so perhaps try:
   0. check the magnetometer offsets using the CLI
   1. remove the blades from your quad
   2. arm the engines
   3. hold the copter in your hands and wave it around for a few minutes (this should help get the offsets correct)
   4. disarm the engines (this will save the mag offsets)
   5. check the mag offsets have been udated using the CLI
   6. check if the heading has become more accurate

feel free to PM me (rmackay9) and/or start a discussion if this doesn't resolve 
your problem.  I'm pretty sure there's no software bug in the mag code because 
we would have received dozens of complaints.

Original comment by rmackay...@gmail.com on 30 Dec 2011 at 1:59