Mlloyd,
Thanks for this, nice analysis and very interesting.
Some things pulled from the logs:
- The external compass’s x,y,z are rotated. X has become Z, Y has become X, Z has become Y.
- The compass orientation seems fine although we can only see what the orientation was when the vehicle started up. So if you accidentally changed the orientation after startup, we would not be able to see that.
- Only the external compass is affected, the internal one is fine
The pre-arm check is a good idea and we will add that if we can’t find the source of the issue. It could be for example that during start-up it failed to write a setting to the compass and we didn’t catch the failure.
-Randy
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Mlloyd,
When Tridge and I were reviewing we found that the hashtag doesn’t match anything from master. So I guess you’ve made some changes to the software?
Mlloyd,
Cool, thanks for the confirmation. We didn’t think it would be related but just wanted to check.
-Randy
Mlloyd,
Can you send a link to the repository that you’re using? We’d just like to review your changes and make sure they’re not related.
Txs again for reporting this!
-Randy
From: Randy Mackay [mailto:rmac...@yahoo.com]
Sent: August 26, 2014 12:16 PM
To: 'drones-...@googlegroups.com'
Subject: RE: [Bulk] [drones-discuss] Re: Possible compass bug, flyaway on ArduCopter master
Mlloyd,
Cool, thanks for the confirmation. We didn’t think it would be related but just wanted to check.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of mlloyd
Sent: August 26, 2014 11:41 AM
To: drones-...@googlegroups.com
Mlloyd,
On extra bit of info is that I see your comment about using the VRGPS+Compass which has the HMC5983 compass on it which is different from the more common 3DR GPS + compass module which uses the HMC5883.
The VRGPS+Compass’s field length (see Pixhawk_VRGPSCompass.png) seems to be twice that of the 3DR GPS+compass module (see Pixhawk_3DRGPSCompass.png). From looking at the datasheets I don’t see why they would be different.
-Randy
From: Randy Mackay [mailto:rmac...@yahoo.com]
Sent: August 26, 2014 2:02 PM
To: 'drones-...@googlegroups.com'
Subject: RE: [Bulk] [drones-discuss] Re: Possible compass bug, flyaway on ArduCopter master
Mlloyd,
Can you send a link to the repository that you’re using? We’d just like to review your changes and make sure they’re not related.
Txs again for reporting this!
-Randy
From: Randy Mackay [mailto:rmac...@yahoo.com]
Sent: August 26, 2014 12:16 PM
To: 'drones-...@googlegroups.com'
Subject: RE: [Bulk] [drones-discuss] Re: Possible compass bug, flyaway on ArduCopter master
Mlloyd,
Cool, thanks for the confirmation. We didn’t think it would be related but just wanted to check.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of mlloyd
Sent: August 26, 2014 11:41 AM
To: drones-...@googlegroups.com
Hi Randy ,this is my log in Italy and in California :Doing with VR micro Brain and VR GPS 8 that use HMC5983 as mag chipset.BestRoberto
Hi Randy ,this is my log in Italy and in California :Doing with VR micro Brain and VR GPS 8 that use HMC5983 as mag chipset.BestRoberto
2014-08-26 13:42 GMT+02:00 'Randy Mackay' via drones-discuss <drones-...@googlegroups.com>:
Roberto,
Ok, your compass’s magfield seems to be closer to the 500 we expect.
Mlloyd,
Until we find the cause, your idea for a pre-arm check is good so I’ve added a check of the internal vs external compass direction. If they’re off by more than 45 degrees it will fail the pre-arm compass check.
https://github.com/diydrones/ardupilot/commit/eb51a8e5da0ac5d53e99104baf9018823c9b7092
-Randy
From: drones-...@googlegroups.com [mailto:dro...@googlegroups.com] On Behalf Of mlloyd