Hi,

Just updated to 2.7 on my Y6. However, I still seem to have this random issue where the mag (DIYDrones HMC5883L) fails to init when I hook the battery up.  In mission planner I get a slow rotation of heading which does not respond to the heading of the multicopter rotation and the attitude feedback is very sluggish on the hud.  If I unhook and reconnect it comes good again (sometimes).

It's a real pain to have the laptop / xbee on hand when I go out for a fly to see if it has failed to init the mag when I turn it on.  Board is the APM 1 2560.

In this state the mag is just giving me zero on it's X,Y,Z.  The fact that it sometimes works indicates the mag is ok.  It's soldered directly onto the four pins of the IMU with a double sided foam tape to space it away for the electronics below it.

I though it may have been interference from the Attopilot 90A sensor however it seems to still randomly fail to init with it disconnected.

Question- should Mission Planner show the correct heading/attitude as soon as I turn on the multicopter and connect to the xbee com port, or is it only supposed to come good after arming?  Does a GPS Fix have anything to do with this?  What should I expect to see?

I have seen it come good a couple of times after arming but this is also random.  Most times I do need to kill the power and connect again for the Y6 to be flyable.

This was the main reason I gave this board a break for a long time and tinkered with a MultiWii controller.  Really disappointed that the updated software does not seem to correct this.  Starting to think something is a amiss with either the mag or the IMU board. 

I'll clear all the onboard log files and run some tests again to record what happens when it starts and post the log files to see if anyone can spot anything out of the ordinary.

Thanks,

John

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

This reply was deleted.

Activity

DIY Robocars via Twitter
Videos from the ICRA autonomous racing workshop are now available: https://linklab-uva.github.io/icra-autonomous-racing/
Thursday
DIY Robocars via Twitter
RT @SmallpixelCar: Prepared race track for Warm Spring Raceways @wsraceways and looking forward to test my new car at RAMS RC @ramsaicar fa…
Jun 6
DIY Robocars via Twitter
RT @f1tenth: Trying out some nasty blocking maneuvers 🏎️🤖 #f1tenth #autonomousracing https://t.co/nMTstsaogM
Jun 5
DIY Robocars via Twitter
May 27
DIY Robocars via Twitter
RT @araffin2: I will talk this Saturday from 18:00 to 19:00 Paris time for the @diyrobocars community about learning to race in hours using…
May 27
DIY Robocars via Twitter
RT @a1k0n: Luckily the infeasible hairpin problem was easily reproducible in simulation and I could test the fix before bringing the car ba…
May 26
DIY Robocars via Twitter
RT @a1k0n: Another problem was that I was over-constraining the car's allowed accelerations, so it didn't think it could turn as tight as i…
May 26
DIY Robocars via Twitter
RT @a1k0n: Breaking the map up into two halves worked, but I had to be more careful about separating the inner track from outer. There's se…
May 26
DIY Robocars via Twitter
RT @a1k0n: Here's a datalog for my fastest lap of the day. Lap timer is tiny window lower-left. https://t.co/myrlWWrKUY
May 26
DIY Robocars via Twitter
May 26
DIY Robocars via Twitter
RT @a1k0n: Here was my car's POV. Man this track is confusing in first-person! After the incident my camera was all scuffed up and I was af…
May 23
DIY Robocars via Twitter
RT @circuitlaunch: Loved seeing so many familiar (masked) faces at Circuit Launch today for our first in person @diyrobocars in over a year…
May 22
DIY Robocars via Twitter
RT @circuitlaunch: Last but not least, mystery guest @BostonDynamics Spot took to the track @diyrobocars He enjoyed the #brazilianbbq too 😂…
May 22
DIY Robocars via Twitter
RT @SmallpixelCar: Today’s race @circuitlaunch for @diyrobocars with @a1k0n Was busy in the morning and did not get a chance to tune camera…
May 22
DIY Robocars via Twitter
RT @a1k0n: This was epic. My car was barely working this morning, had to make a lot of changes and extremely dirty hacks. Post-race analysi…
May 22
DIY Robocars via Twitter
DIY Robocars @ Circuit Launch, 3/7/2020 https://twitch.tv/diyrobocars
May 22
More…