Obvious compass problem? Crash in Auto

I'm new on the forum so maybe I'm posting in the wrong section.

Yesterday I was out flying with my Tri and tried the mission planner for the second time which resulted in a crash. I have recently "upgraded" from multiwii and my gathered experience on multirotors and RC of any kind is combined not more than the past few months.

Its difficult to see well on the video as the copter is far away and bad camera. Needs full screen to se anything.

My hardware is a Crius AIO Pro with the NEO6M GPS. I have tuned my platform using the autotune and it appears to me that it has got the settings quite good as the platform now is very stable and responsive (maybe overshoots a little but thats within margins).

Last time I ran mission planer it went between points making a "bow" and not a straight line. I narrowed it down to the compass as "simple mode" did not work well either. Stabilize, Alt-Hold and ACRO where really stable but simple and loiter where not.

What I did was move the power cables about 2cm further away from the board and yesterday the "simple mode" worked like a charm. I was also getting nice straight lines in mission mode but all of a sudden a crash.

Just before the crash it followed waypoints really well until it seemed to miss one (pass by) and then it entered a circle I was not fast enough to save it from. What surprised me was that the copter dit not do circles in the air as before when loiter was messed up but instead it circled to change its inclination so much that it fell. I thought that it was always in stabilize when in AUTO. Anyways.. unfortunately I don't have logs activated to save some space on the FC and also to get better performance. What you can see in the pictures below is just a print screen from the video but shows on my phone how the copter went in straight lines and then circled before the crash.

3691147007?profile=original

3691146983?profile=original

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

Join diydrones

Email me when people reply –

Replies

  • it's more prone to circles (toilet bowl  effect)  at speed, and depending on yaw angle.

    anyway, from the little screenshots and video you posted, yes - this was a typical behavior caused by bad compass.

    Upload your logs to droneshare.com  and you'll get that verified very quickly.

    Redo compass calibration, heed warnings about high offsets, move compass away from power, and have fun.

    • Thank you for your reply Andre. Unfortunately I had logs off during the flight. I've ordered a new GPS module with compass as to get it externally. Also will look into moving the power lines even further away. My offsets are -4.873394 in Z -5.813363 in Y and 88.492294 in X.

      Two questions..

      1. how do I do a compass calibration on the field, have not found it in mission planner for Android that I am running but only find it in mission planner on the computer.

      2. Any idea as to why the platform went beyond the lean angle and crashed? Is this normal when compass fails? 

      • 1: try droidplanner too, suggest for both authors to add this feature (not sure if droidplanner is still missing it)

        - APM planner can do that to, (in case you have a laptop with something else than windows)

        2: hard to say if it did, without logs / version.  recent versions prioritize altitude over speed. the high speed is a result of not getting closer.

        • I think I might have solved the problem. I lifted the FC quite some bit from the power lines. In the picture below you see the white plate beneath the yellow dampers is new. Before they where mounted on the purple plate next to the carbon fiber below. Flew around in stabilize asking a friend to look at the compass on the ground station to see if it seemed to be accurate. Tried full throttle many times and it did not go bad. Tried loiter and it was stable. RTL also worked like a charm and land as well. Did not try any waypoints.

          3702765491?profile=original

          I had another problem today though. The system started oscillating at times being almos impossible to control. It seemed to be when it either was further away (50m) or when battery was low, have to do more analysis. They where some new things on the platform though. I have added led stripes and telemetry kit (had bluetooth before). Running 3S batteries and suspecting its not enough, strange though that it seemed to appear when further away. Any guess?

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…