Hi !

I have a small (370 mm) Hexa running 3.2.1 on a Crius APM clone with a Ublox 8 GPS / Compass combo.

AFter some stupid mistakes it works ***perfect*** in Alt-Hold and the Heading is spot on as far as i can measure ( i point the Copter towars a known landmark and check in Mission Planner if the Heading-Line gors through that landmark).

However i ***did*** have trouble with calibration but i believe the current MP GZI is buggy, see thread: Compass Calibration trouble Thread

I have no idea if that is relea6ed, but i thought i mention it :-)

Everytime before when i had bad Loiter (toilet bowl) the compass was not working or was a huge angle off.

But this time the compass seems okay from the heading shown in Mission Planner, I did run compassmot but i had very little interference from the start and of course even better after the compassmot ( <2% ).

So i am a bit helpless, is it a bug in 3.2.1 ???

Mission planner cant correctly calibrate on a "known good" Hexa running 3.1.5. (also no dots, no graph rotation, error 99).

Do you have any hints how i can start to debug this or how to find a trace ?

I guess some log channel can shed more light on this but i dont know which ?!

(Something like "loiter desired position = XXX, current position = XXX, moving at Heading XXX at Speed XXX)...

Please give me a hint, or maybe i should downgrade to 3.1.5 and find an old MP ?!

Do i need an EEPROM clear after down/upgrading ?

Greetings,

Nils

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

Join diydrones

Email me when people reply –

Replies

  • Did you ever get any help with this issue? If you did please post your results. It's hard to believe you didn't get any response here. I haven't had this exact issue before but I had experienced the "toilet bowl effect" on my first build. I got away from that once I realized the manometer (compass) was getting DC interference. As you stated you've ran the compassmot test and at 2%, no problem should exist with DC interference. If you haven't got that fixed and need some help I'd be more than happy to help you trouble shoot and run through a few different options.
  • Hi !

    Please see a log attached, showing how i keep swithcing to loiter and "saving" the Hexa by switching back to alt hold as it wanted to fly away.

    Any help ?

    Greetings,

    Nils

    2015-05-29 21-17-41.7z

    • You have several instances of GPS failsafe 1 (loss of lock for 5 seconds) and one GPS failsafe 2 (glitch). Where were you flying? It lost all satellites for a bit.

  • HELP :-)

    (aka "bump")

    Is there no kind soul that can put me on the right tracks to this problem ?

    I cannot find a reason why Loiter is so all-over-the-place.

    I tried to gather facts in the postings above, if there is something missing to help me, please let me know.

    I do not know which stuff to log to make a log file sensible.

    I did try something new: I flew with "simple mode" to check if compass is also good in-flight.

    simple mode works great, i can rotate & move in a direction ("UFO") just fine.

    So compass seems to be okay like indicated on the ground and during the compassmot.

    Also the Map Plots are okay, so i always end up with:

    GPS okay, compass okay, why does it not Loiter okay ????

    Whenever i activate Loiter from ALT Hold it starts to flyaway. changing direction, sometimes slow, sometimes flank speed.

    I don't get it !

    Greetings,

    Nils

  • Hi again,

    i erased the EEPROM with arduino IDE, flashed 3.1.5 and redid calibrations.

    Same Problem, all looks fin but as soon as i activate Loiter the Hexa tries to "run away".

    Again i looked at the logs: started out with 8 sats, went to 10 sats fast. All positions look fine (within my 5x5m test ground, was too lazy to go to wide open space).

    ANy ideas how i can get a hold of this ?

    Greetings,

    Nils

  • Hi !

    Meanwhile i checked the log again and can be 100% sure that the GPS Position itself is perfectly precise when i activated Loiter (I am using the APM Analyzer Software). So in my last test flight where i engaged Loiter 9 times (with harsh "wanna-fly-away" and switching back to Alt-hold quickly) i could veryfy that the actual GPS position were fine (startiung at 7 sats at the beginning up to 11 at the end).

    So the GPS is not the problem, and the mag "looks" okay from Mission planner as well.

    The compass is external and has orientation of 180 Roll. Could it be that the current Firmware version does report correct heading to mission planner but does not take in account the "Roll 180" for Loiter ? I cannot find "compass heading" in the log file anywhere.

    See attached a screenshot of all (???) compass related data.

    Greetings,

    Nils

    compass.JPG

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @DWalmroth: Weather's finally cooperating, looking forward to racing 1:10 scale autonomous cars outdoors again! @diyrobocars, @NVIDIAEm…
Wednesday
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…
Wednesday
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
Laurie J. Troy liked Jasper Kueppers's profile
Apr 1
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
DIY Robocars via Twitter
If anybody wants to join us for an informal outdoors hack/race we're going to be meeting at the @CircuitLaunch park… https://twitter.com/i/web/status/1375907409223249923
Mar 27
DIY Robocars via Twitter
RT @SmallpixelCar: Ready to reopen, innovation has to continue. Inside/outside, LiDAR/GPS, race/delivery https://t.co/jpmvttoHEd
Mar 26
DIY Drones via Twitter
RT @DAVGtech: By far best race yet! Congratulations to the winner @Heavy02011 🥇🏆🍾👏👏👏 @diyrobocars @donkey_car @NVIDIAEmbedded https://t.co/…
Mar 20
DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #8 - #ParkingLotNerds ⁦@DAVGtech⁩ ⁦@DWalmroth⁩ ⁦@OttawaAVGroup⁩ - join us tomorrow h…
Mar 20
DIY Drones via Twitter
RT @mrpollo: 11 years ago, the pxIMU was announced to the world on @DIYDrones, and it changed the life of many (mine included). The followi…
Mar 18
DIY Drones via Twitter
RT @ishcahealth: This is awesome! ☘️ @DroneDJ @DIYDrones @WorkerDrones @DroneMedia_UK @dublinaviation https://twitter.com/media_ireland/status/1372077878536462336
Mar 18
DIY Robocars via Twitter
RT @DAVGtech: Changing the game, now with a Lidar. All in a virtual environment and free to anyone. #VirtualRacimgLeague @diyrobocars https…
Mar 18
DIY Robocars via Twitter
Great video from UCSD students telling their @donkey_car racing story https://www.youtube.com/watch?v=M4uVoQAyt5s
Mar 18
Timothy Miller liked Joseph Udofia's profile
Mar 18
More…