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
Apr 27
DIY Robocars via Twitter
Apr 27
DIY Robocars via Twitter
RT @f1tenth: Sliding (autonomously) into the weekend like ... 🤖😎 #f1tenth #robots #AutonomousVehicles @OpenRoboticsOrg @NVIDIAEmbedded @Aut…
Apr 25
DIY Robocars via Twitter
RT @chr1sa: One of the problems with autonomous car racing is that watching software drive is not a very exciting spectator sport. To help…
Apr 25
DIY Robocars via Twitter
RT @SmallpixelCar: Replaced AGX Xavier with @NVIDIAEmbedded Jetson Xavier NX. Now both cars look fast and clean https://t.co/jlcoY2EjZf
Apr 25
DIY Robocars via Twitter
RT @chr1sa: Yesterday we had a record number of competitors (36) in our monthly @DIYRobocars virtual autonomous car race. We kept it going…
Apr 25
DIY Robocars via Twitter
Apr 16
DIY Drones via Twitter
RT @chr1sa: After more than a year of only virtual races, @DIYRobocars returns to the newly renovated @circuitlaunch on May 22 for the resu…
Apr 11
DIY Robocars via Twitter
RT @DAVGtech: And now available with LiDAR 🔥 https://twitter.com/Heavy02011/status/1381137016381964293
Apr 11
DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #9 - #ParkingLotNerds #thunderhillracetrack, CA Join us for the next race April 24th,…
Apr 11
DIY Robocars via Twitter
RT @DWalmroth: Weather's finally cooperating, looking forward to racing 1:10 scale autonomous cars outdoors again! @diyrobocars, @NVIDIAEm…
Apr 7
DIY Robocars via Twitter
RT @AIDRI_: I finally succeeded in optimizing the trajectory and speed of a car on a #racetrack. Next step: implement a 2d controller and…
Apr 7
DIY Robocars via Twitter
@jetdillo @circuitlaunch Actually the second *in person* event in a year. We do virtual races every month
Apr 2
DIY Robocars via Twitter
Update: we're moving it back one day to Sunday (the 4th) at 11:00am instead
Apr 2
DIY Robocars via Twitter
@GrantEMoe @circuitlaunch Update: we're doing it on Sunday (4th) at 11:00am instead
Apr 2
DIY Robocars via Twitter
RT @chr1sa: Maybe we should have a mini @DIYRobocars race in our lower school's playground https://t.co/xLFeua1R6X
Mar 29
More…