loiter mode causes copter to drift away fast

everything was working fine quad flew great,,,now if i go into loiter mode it rolls right every time,, alt hold works using gps??, also had problem after flying a bit i tried auto calibration and cant even control it in autosetup mode,,,going to check compassmot when batts recharged, just to see where that is now..

any body else having this problem or know how to fix it,,,,,i allready did a full wipe and firmware load

then all setup steps ,, the only difference is i flashed my esc`s with simonk

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

Join diydrones

Email me when people reply –

Replies

  • I know the two times I've had similar experiences it was compass/gps orientation related.

    Russ

    • Yes..  Drifting is almost certainly a compass problem.  (Especially if it's a circular drift).   When I first flew my 3DR Hexacopter, (over a year ago now),  it was drifting in loiter and struggling to find waypoints.   Getting the APM away from the power distribution unit and doing a a compassmot fixed it.

      • Hi,

        How did you fixed the compass problem?

        Me too having drifting issue, and course a crash.

        I've already wrote the things together here:

        http://www.rcgroups.com/forums/showpost.php?p=33755788&postcoun...

        Randy, do you have any idea how to fix it?

        Gabor,

        RC Groups - View Single Post - Pixhawk from 3D Robotics and PX4
        RC Groups - the most active Radio Control model community: electric and fuel rc airplanes,rc helis,rc boats and rc cars. Features discussion forums,…
  • i have also problem like yours. Can someone analyze my log and tell me what is wrong? i send you log and photo of my copter. what should i change? i cant do Compassmot because i dont have power module. 

    thanks for all

    Marcin

    2014-04-16 15.12.15.jpg

    2014-04-16 13-52-54.log

  • Developer

    It's very likely that it's compass interference which is #4 on the top 6 most common problems that people face.  There's a decent amount of information on that linked page which should help confirm this is the issue and it also includes ways to fix it.

  • I have a similar problem But mine fly's away Fasst. I had it happen to me and always when I switch into loiter,and all three times it has tilted 45 degrees  in the same direction. It seems to happen almost like when I switch from stabilized mode to loiter  before it is settled (while still in motion).    The first time it caught me by surprise and I didn't switch back to stabilize  mode and it flew at 45 degrees about 150ft. into a tree across the street, the second and third time i was able to switch back to stabilize mode .   Mine fly's decent in stabilize mode Rates  roll/pit are p= .155 I= .1 d = .004 Imax 500.0 any suggestions on changes welcome. Alt hold is great , land is great.   did all the calibrations and also compassmot brought it down to 45%.

    Oh ,  what should my WPNAV LOIT speed be set?  mine was set at 500  

  • thanks to everyone that replied,, i will be trying all suggestions, soon, i have spinal surgery next week so i cannot really do anything right now,,,,,,i will report back after my operation
  • Developer

    If you post a dataflash log and/or tlog I'm sure we can find out the problem.  By the way,. this wiki page describes the six problems that include the vast majority of issues we see.  Loiter problems are most often GPS glitches or compass heading problems but let's see the logs.

  • Same problem here (APM 2.5, v3.0.1)...switching to LOITER or RTL makes the aircraft fly away FAST and into the ground...mine goes to the RIGHT just like yours, though I have read other reports of the aircraft going in other directions.

  • Alt Hold does not use GPS, it uses the barometer and if you have one the sonar. Loiter is basically ALT-HOLD (for the vertical) and GPS for the horizontal.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @a1k0n: Did I get rid of hand-tuned parameters? Yes. Am I still hand-tuning more parameters? Also yes. I have a few knobs to address the…
Monday
DIY Robocars via Twitter
RT @a1k0n: I'm not going to spoil it, but (after charging the battery) this works way better than it has any right to. The car is now faste…
Monday
DIY Robocars via Twitter
RT @a1k0n: Decided to just see what happens if I run the sim-trained neural net on the car, with some safety rails around max throttle slew…
Monday
DIY Robocars via Twitter
Sep 24
DIY Robocars via Twitter
RT @SmallpixelCar: @a1k0n @diyrobocars I learned from this. This is my speed profile. Looks like I am too conservative on the right side of…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: @SmallpixelCar @diyrobocars Dot color is speed; brighter is faster. Yeah, it has less room to explore in the tighter part, and t…
Sep 24
DIY Robocars via Twitter
RT @a1k0n: I'm gonna try to do proper offline reinforcement learning for @diyrobocars and throw away all my manual parameter tuning for the…
Sep 23
DIY Robocars via Twitter
RT @circuitlaunch: DIY Robocars & Brazilian BBQ - Sat 10/1. Our track combines hairpin curves with an intersection for max danger. Take tha…
Sep 22
DIY Robocars via Twitter
RT @SmallpixelCar: Had an great test today on @RAMS_RC_Club track. However the car starts to drift at 40mph. Some experts recommended to ch…
Sep 11
DIY Robocars via Twitter
RT @gclue_akira: 世界最速 チームtamiyaのaiカー https://t.co/1Qq2zOeftG
Sep 10
DIY Robocars via Twitter
RT @DanielChiaJH: Always a good time working on my @diyrobocars car at @circuitlaunch. Still got some work to do if I’m to beat @a1k0n howe…
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: My new speed profile for @RAMS_RC_Club track https://t.co/RtLb7TcgIJ
Sep 10
DIY Robocars via Twitter
RT @SmallpixelCar: Practiced at @RAMS_RC_Club today with my new @ARRMARC car https://t.co/AEu2hCx89T
Aug 28
DIY Robocars via Twitter
Aug 24
DIY Robocars via Twitter
RT @gclue_akira: 柏の葉で走行させてるjetracerの中身 #instantNeRF #jetracer https://t.co/giVvuE4hP7
Jul 4
DIY Robocars via Twitter
Cool web-based self-driving simulator. Click save when the AI does the right thing https://github.com/pncsoares/self-driving-car
Jul 4
More…