ArduCopter 3.0-rc6 available -- need an introductory video

1,335 views
Skip to first unread message

Randy Mackay

unread,
Jun 16, 2013, 3:47:02 AM6/16/13
to drones-discuss, ArduCopterTesters

     We've just put AC3.0-rc6 in the downloads area, github and the mission planner's Beta firmwares link.

     Only a few minor changes over 3.0.0-rc5:
1) bug fix to Circle mode's start position (was moving to last loiter target)
2) WP_ACCEL parameter added to allow user to adjust acceleration during missions
3) loiter acceleration set to half of LOIT_SPEED parameter value (was hard-coded)
4) reduce AltHold P to 1.0 (was 2.0)


     I plan to start a discussion in the next 24h or so to pull in a large number of volunteers to move from 2.9.1b to 3.0.  The release notes are below.  I also need a video for the introduction (Marco or DaveC do you have one?).  Worst case I will use one of the Sparkfun AVC videos.

1. Compass Learning has been turned off by default.  We now recommend that you:
         a) do the "Live" compass calibration to calculate the compass offsets
         b) "compassmot" cli procedure to compensate for the magnetic interference from the power wires, ESCs, etc.

2. Inertial navigation has been added meaning that X and Y axis vibration has become more critical.  If you have working alt-hold in 2.9.1b then you're probably ok.  You can check your XY vibration by looking at the dataflash log's IMU message (was called "RAW" in 2.9.1b).  The X and Y axis should be between -3 and +3 after a stable hover.

3. No need to do factory reset of parameters but the Loiter parameters have changed.  You will need to change these parameters manually if you have changed them from the defaults.
Loiter Speed P: 1.0 (was 0.2)
Rate Loiter P: 1.0  (was 5.0)
            I: 0.5  (was 0.04)
            D: 0.4  (was 0.0)
            IMAX: 4.0 (was 30.0)
Altitude Hold P: 1.0 (was 2.0)

4. Nav parameters have been combined with loiter parameters.

5. pre-arm checks have been added and you may find that you cannot arm your copter unless you have performed all set-up correctly.  If you find yourself unable to arm, try connecting your APM to your computer and check the HUD as you try to arm.  If it's pre-arm checks it should display a warning with the reason.

-Randy

micha...@ndsatcom.com

unread,
Jun 16, 2013, 4:19:15 AM6/16/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay
Have flown rc 6 in loiter. It holts possition verry well but when i yaw 45 degrees left or right the copter drifts off about 2 m. Any idea?
calibrated compass and used compassmot. Declination set manualy to 1,43.
 

Craig Elder

unread,
Jun 16, 2013, 4:26:44 AM6/16/13
to arducoptertesters, drones-discuss
Thanks Randy.
This is great news!


--
You received this message because you are subscribed to the Google Groups "ArduCopter Testers Team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arducoptertest...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

micha...@ndsatcom.com

unread,
Jun 16, 2013, 6:30:19 AM6/16/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay
here the log file
2013-06-16 11-36 1.log

Marco Robustini

unread,
Jun 16, 2013, 7:22:52 AM6/16/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay
Thanks Randy for this new RC.
I think you can use one of this videos, or both, both demonstrate the reliability of the code:

https://www.youtube.com/watch?v=GyPqHeg2v0Y

https://www.youtube.com/watch?v=vnJcxMxDfy4

Or if you want i can rec a new video tomorrow or Tuesday.

Bests, Marco

Olivier ADLER

unread,
Jun 16, 2013, 1:55:32 PM6/16/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay

Michael i did see the same thing and did not gave it much attention because of the quite low impact.

Could be interpreted as phase shift during the Loiter I term rotation.

We'll need to wait for nav specialists input.


Olivier

Jonathan Challinger

unread,
Jun 16, 2013, 2:05:48 PM6/16/13
to drones-...@googlegroups.com
Is the copter well-trimmed in a stabilize hover in completely calm conditions?
Have you run the compassmot calibration?


--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.

Olivier ADLER

unread,
Jun 16, 2013, 2:38:40 PM6/16/13
to drones-...@googlegroups.com

Jonathan in my case the copter is well trimmed.

My compass-mot compensation is not perfect because i have no power module, so i did use the throttle method. It's very probable that i have a few degree error according to current load.


Talking about yaw, my yaw is very stable, except when i fly aggressively with large turns at 10 - 25 m/s sometimes it does shift alone to an angle between 0 to 45 degree sometimes a bit more. Do we release yaw lock if the yaw I term cannot catch the yaw rotation induced by flight conditions ?

I know there is an Imax safety so the yaw controller cannot indefinitely cath up. But it seems that Yaw heading is reseted to the new angle when the iterm cannot catch up.

Is this something that we could change ? Or simply rising Yaw Imax will solve the problem ?

For beginners, this behavior is certainly something undesirable.

Olivier

DanielB

unread,
Jun 16, 2013, 3:46:32 PM6/16/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay
Just did a few min ago a back yard flight with I must say very impressive results!

T029a-es-QC01, 8 min. flight
      2.125 Kg UAW 750mm quad, 2x3S t5 A Lipo for ESCs/motor, 3s 1.3 A Lipo for other elect. system, UBLOX LEA 6H GPS, GoPro on
     Weather:   windy with sporadic strong 26 km/hr gusts (.. hope not being overconfident here, LOL ;-)
     Location: Backyard
     -   stabilize throttle altitude control stable and linear
     -   alt-hold mode is likewise is very linear, no altitude drift during relatively calm moments but slowly looses about qtr. m altitude as gusts picks up
     -   loiter locked in once engaged, stops firm and strong switched from alt-hold fast movement, no altitude loss noticeable except during strong gusts as above.
     -   loiter mode locks in consistently  with strong full stops accurate within qtr of meter from  full stick relocations,  360 deg. blender turn,  90 deg. snap yaw turns and up-down altitude change, resists strong gusts effectively (this make me feel like buying everyone a drink of beer! LOL!)
     -   yaw in all modes locks in firm, did not observe drift in the turns, even in the 360 deg. blender turn
     -   nagging twitches/quick tilts, 2 x, about after 5 and  6:50 min of flight (...still occurs, dang! (:)

 Notion: try re-recalibrating compass offsets using "calibration dance" to see if this can fix the twitching

Fantastic job well appreciated!
Cheers.

DanielB

unread,
Jun 16, 2013, 3:50:29 PM6/16/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay
Sorry almost forgot, the logs (as attached)
2013-06-16 15-17 1-T29a-es-QC01.log
2013-06-16 14-58-55-T29a-es-QC01.tlog

Randy Mackay

unread,
Jun 16, 2013, 6:42:41 PM6/16/13
to Olivier ADLER, drones-...@googlegroups.com, ArduCopterTesters

     Two possibilities are below...not sure which is is (or perhaps it's something else)...here's also some back ground:

     inertial nav for horizontal position hold integrates the accelerometer values (which are in body-frame of course) and, using the current heading, updates the current estimated position offset from home in cm (this is in the earth frame).  Then every time a new gps position arrives we calculate the error (i.e. gps position - estimate) and then we nudge the estimate towards the gps position.  The strength of the nudge is controlled by the INAV_TC_XY parameter.  This "nudge" both pushes the estimate towards the gps position but it also adjusts an earth-frame accelerometer offset.

     So the position move could come from:
         1. accelerometers not being perfectly calibrated.  if they're not perfectly calibrated then when the copter rotates, the inertial nav lib may see an increase in the acceleration in one direction.  This will be corrected quickly by the earth-frame accelerometer offset but you could still see it.
         2. frame isn't balanced - try doing auto-trim.

-Randy



From: Olivier ADLER <cont...@nerim.net>
To: drones-...@googlegroups.com
Cc: ArduCopterTesters <arducopt...@googlegroups.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Monday, June 17, 2013 2:55 AM
Subject: Re: ArduCopter 3.0-rc6 available -- need an introductory video

Gary McCray

unread,
Jun 16, 2013, 7:01:00 PM6/16/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay
Hi Randy,
I have been adding information to the new APM:Copter wiki in advance of 3.0, but if there is anything else you think needs to be added or stressed, let me know and I will be happy to add such information as you think is important.
I Know 3.0 changes things a lot and we are bound to have trouble with people with several issues, vibration and mag offset among others.
Happy to help wherever I can.
I wonder if having a parameter to selectively disable inertial (horizontal) might be feasible (or worthwhile), so people could investigate the difference for themselves (we already have for alt hold enable accelerometer based).
Of course now I'm looking forward to 3.1 beta with Spline curves.
Gary

Randy Mackay

unread,
Jun 16, 2013, 8:32:29 PM6/16/13
to drones-...@googlegroups.com
Gary,

     Re the possibility to add a feature to disable inertial navigation.  NO!   :-).  If people want to stick with gps-only navigation they can remain on 2.9.1b.

     Thanks for your help on the wiki.  I've done a review and come up with some requests:
  • On the Configure Radio Control page:
    • In the top image for the channels 1 ~ 8 the descriptions for 6 ~ 8 could be clearer for arducopter.  I've included an image with the descriptions improved.
    • we should have a description of what simple mode means
    • we need more information and a link to the video of the compass dance
    • The image for the Hardware Options is out-of-date and doesn't include the Auto Dec checkbox nor the Orientation drop-down
    • it's not clear how to get to the next page once you reach the bottom.  There's just this somewhat out of place message: Your APM and RC setup is not configured! If you're using an RTF copter, please proceed to Connect Battery. If you're using a DIY kit, please continue to Configure ESCs.
  • The FlightModes page :
    • only talks about Stabilize and Loiter.  We should probably extend it to talk about all 12 flight modes (Acro, Stabilize, AltHold, Auto, Guided, Loiter, RTL, Circle, Position, LAND, OF_Loiter, Toy).
    • we should drop the section titled "User definable flight modes".  This is very niche information and should probably go into the developers section
-Randy


From: Gary McCray <garyr...@gmail.com>

To: drones-...@googlegroups.com
Cc: ArduCopterTesters <arducopt...@googlegroups.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Monday, June 17, 2013 8:01 AM
Subject: [drones-discuss] Re: ArduCopter 3.0-rc6 available -- need an introductory video

--
RCInputs.png

Randy Mackay

unread,
Jun 16, 2013, 8:47:25 PM6/16/13
to drones-...@googlegroups.com
Gary,

     ah, there seems to be two duplicate pages so I wasted time looking at the wrong page.
             http://copter.ardupilot.com/quick-start-configure-rc-apm/  <--- garbage page that should be deleted?  I reached this page by following the link at the bottom of this page.
             http://copter.ardupilot.com/wiki/configuration/       <--- up to date page?

     Other random notes:
            Connecting GPS Module on the assembly-instructions page.  3dr GPS uBlox with onboard compass is intended for use with APM 2.6 isn't it?  Comment should be changed from "It provides enhanced compass performance..." to something that clarifies that it allows you to place the compass up and away from sources of magnetic interference including the power-distribution-board, ESCs and motors.
             We should include a diagram showing which trace to cut on the 2.5.  We should also include a screen shot of where to set the compass orientation through the mission planner.  I believe the Orientation drop-down should be set to ROTATION_ROLL_180.

-Randy



From: Randy Mackay <rmac...@yahoo.com>
To: "drones-...@googlegroups.com" <drones-...@googlegroups.com>
Sent: Monday, June 17, 2013 9:32 AM
Subject: Re: [drones-discuss] Re: ArduCopter 3.0-rc6 available -- need an introductory video

Roberto Navoni

unread,
Jun 16, 2013, 9:01:41 PM6/16/13
to drones-discuss
I have a lot of fortune today  with VRBrain 4.0 and Arducopter32 rev 3.0rc5-6 :)
We are using same code of apm2.5 code with AP_HAL for VRBrain.
I'm very happy of this result see the video :)
Tomorrow i put the dfu code on 
the complete code with last update is available here .
Thanks to all Arducopter DevTeam ... Randy you doing a great Job , with Andrew , Leonard and all the other great Developer ... thanks a lot for this great results !!!
Thanks also to VR Lab , expecially to Emile that work a lot with me for ap_hal port to stm32f4 and vrbrain.
Best


2013/6/17 Randy Mackay <rmac...@yahoo.com>

Michael Utz

unread,
Jun 17, 2013, 1:50:58 AM6/17/13
to drones-...@googlegroups.com, Olivier ADLER, ArduCopterTesters, Randy Mackay
thanks randy will check the accelerometers and the balancing.
 
i did a video this morning with the perfect circle and with the yaw problem during loiter
http://youtu.be/bxjLsruGmfo
@Jonathan yes i think the copter is well trimmed and i d run compassmot as well.
   

Robert Lefebvre

unread,
Jun 17, 2013, 1:28:10 PM6/17/13
to drones-discuss
Hey Randy, I like that image.  Can you change it so that Ch7 is Aux 1, and Ch8 is Aux 2?  I think it might help during setup to have these numerated in this way?  

Then we could change it so that for Trad Heli, if you're using the Ch8 switch for ESC control, we'll make that an Aux 2 Input selection.  Otherwise I think some users will get confused, and might try to assign Ch8/Aux2 to both ESC control, and then maybe a gimbal control, and obviously you can't do that.

Gary McCray

unread,
Jun 17, 2013, 2:31:09 PM6/17/13
to drones-...@googlegroups.com, Randy Mackay
Hi Randy,

Unfortunately, the page you identified is one of the new Quick Start pages which I do not have edit access to.

These are the sole product of 3DR and are produced and maintained exclusively by them.

I have already mentioned this exchange to Alex Paskulin at 3DR and given her a link to look at this exchange.

The Other page is mine.

The Wiki Editors (My) role is to provide information beyond the Quick Starts, but now that 3.0 is going to be coming out shortly it is essential that the Quick Starts be fully capable of supporting 3.0 as well.

From my preexisting experience with this and 3DR it is truly very important to maintain this separation so that 3DR can do what it finds most valuable to it's enterprise on the front end and that the public section be maintained not directly connected to it.

This is not a political issue, it is a necessary and functional separation of business and open source public space.

That said, the quick start doesn't do you much good if it doesn't actually work.

I will make what changes I can on those pages that I do have access to and try to assist Alex to get in the required information as well.

But I would also appreciate it if you might interact directly with her in this regard.

Best Regards,

Gary

DanielB

unread,
Jun 17, 2013, 3:17:39 PM6/17/13
to drones-...@googlegroups.com, Olivier ADLER, ArduCopterTesters, Randy Mackay
Hi Randy.

Just tested after having recalibrated the accelerometers (used carpenter's leveler) as well INS_MPU6K_FILTER increase to 42 (fr. 20), the results are must say, simply perfect:

rc6-T29a-es-QC02, 8 min. flight

      2.125 Kg UAW 750mm quad, 2x3S t5 A Lipo for ESCs/motor, 3s 1.3 A Lipo for other elect. system, UBLOX LEA 6H GPS, GoPro on
     Weather:   windy with strong 25  km/hr gusts
     Location: Backyard, modes: stabilized, alt-hold and loiter
     -   stabilize throttle-altitude very linear
     -   alt-hold mode also very linear with throttle alt control, no altitude drift during calm moments, slight 
         altitude drift as the wind picks up
     -   loiter locked in once engaged, stops firm and strong switched from alt-hold fast movement, slight
         altitude drift during strong gusts as above.
     -   loiter mode locks 3D strong, full stops accurate hardly with any drift, from  full stick relocation maneuvers, 
         blender turns, varying snap yaw turns and up-down altitude change, even in very gusty conditions
     -   loiter wind resistance excellent, hardly any dirft, even under quick yaw turns and after full blender turns
     -   yaw in all modes locks in firm, did not yaw drifts, even in after full blender turns
     -  NO twitching, or erratic behavior observed  smooth even as it battles the winds.. (FINALY SOLVED! Yeheey!)

Much appreciated.

Cheers.
Daniel
2013-06-17 14-38 2-T29a-es-QC02.log
2013-06-17 14-24-04-T29a-es-QC02.tlog

Randy Mackay

unread,
Jun 17, 2013, 11:10:07 PM6/17/13
to DanielB, drones-...@googlegroups.com, Olivier ADLER, ArduCopterTesters
Daniel,

     Good news.  Glad it's going well.

     I've created the 3.0 discussion here.  Note that we will ask people to voluntarily upgrade to 3.0 for the next month before making it the default firmware version that the mission planner dispenses.

-Randy


From: DanielB <dber...@gmail.com>
To: drones-...@googlegroups.com
Cc: Olivier ADLER <cont...@nerim.net>; ArduCopterTesters <arducopt...@googlegroups.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Tuesday, June 18, 2013 4:17 AM

Subject: Re: ArduCopter 3.0-rc6 available -- need an introductory video
Cc: ArduCopterTesters <arducopt...@ googlegroups.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Monday, June 17, 2013 2:55 AM
Subject: Re: ArduCopter 3.0-rc6 available -- need an introductory video

Robert Lefebvre

unread,
Jun 18, 2013, 7:20:22 AM6/18/13
to drones-discuss
Is it necessary to use a level for the accelerometer calibration?


DanielB

unread,
Jun 18, 2013, 8:25:32 AM6/18/13
to drones-...@googlegroups.com, DanielB, Olivier ADLER, ArduCopterTesters, Randy Mackay
Did yesterday eve, just to confirm and congrats for the milestone release, Randy. Thanks again. Cheers. Daniel

Jonathan Challinger

unread,
Jun 18, 2013, 11:39:01 AM6/18/13
to drones-...@googlegroups.com

I suspect it's actually better not to. Instead, run the calibration without caring about exactly leveling, then fly the autolevel mode (hold stick in arming position for a while)

Gary McCray

unread,
Jun 18, 2013, 9:26:37 PM6/18/13
to drones-...@googlegroups.com, Randy Mackay
Hi Randy, I have completely gone through the Flight Modes base page and I have pushed the Customizable flight modes section over to it's own developer page.

I still only cover the basic 3 starter modes: Stabilize, Loiter and Alt Hold on this page, but I have broken them out better.

And I refer the users to individual links to the wiki pages for each mode as well as the table of contents for full coverage of all flight modes. (There really is too much to try and cover them adequately in one page).

I have also stuck six modes in common in the new wiki and refer to it and CLI and RC Input (also new Wiki common pages) using relative wiki links.

I have also cleaned up all the dangling Google wiki links.

Randy Mackay

unread,
Jun 18, 2013, 10:02:55 PM6/18/13
to drones-...@googlegroups.com
Gary,

     Nicely done on the flight modes page.  Looks very good.  thanks for that!

-Randy



Cc: Randy Mackay <rmac...@yahoo.com>
Sent: Wednesday, June 19, 2013 10:26 AM
Subject: Re: [drones-discuss] Re: ArduCopter 3.0-rc6 available -- need an introductory video

Hi Randy, I have completely gone through the Flight Modes base page and I have pushed the Customizable flight modes section over to it's own developer page.

I still only cover the basic 3 starter modes: Stabilize, Loiter and Alt Hold on this page, but I have broken them out better.

And I refer the users to individual links to the wiki pages for each mode as well as the table of contents for full coverage of all flight modes. (There really is too much to try and cover them adequately in one page).

I have also stuck six modes in common in the new wiki and refer to it and CLI and RC Input (also new Wiki common pages) using relative wiki links.

I have also cleaned up all the dangling Google wiki links.

On Sunday, June 16, 2013 5:32:29 PM UTC-7, Randy Mackay wrote:
Gary,

     Re the possibility to add a feature to disable inertial navigation.  NO!   :-).  If people want to stick with gps-only navigation they can remain on 2.9.1b.

     Thanks for your help on the wiki.  I've done a review and come up with some requests:
  • On the Configure Radio Control page:
    • In the top image for the channels 1 ~ 8 the descriptions for 6 ~ 8 could be clearer for arducopter.  I've included an image with the descriptions improved.
    • we should have a description of what simple mode means
    • we need more information and a link to the video of the compass dance
    • The image for the Hardware Options is out-of-date and doesn't include the Auto Dec checkbox nor the Orientation drop-down
    • it's not clear how to get to the next page once you reach the bottom.  There's just this somewhat out of place message: Your APM and RC setup is not configured! If you're using an RTF copter, please proceed to Connect Battery. If you're using a DIY kit, please continue to Configure ESCs.
  • The FlightModes page :
    • only talks about Stabilize and Loiter.  We should probably extend it to talk about all 12 flight modes (Acro, Stabilize, AltHold, Auto, Guided, Loiter, RTL, Circle, Position, LAND, OF_Loiter, Toy).
    • we should drop the section titled "User definable flight modes".  This is very niche information and should probably go into the developers section
-Randy


From: Gary McCray <garyr...@gmail.com>
To: drones-...@googlegroups. com
Cc: ArduCopterTesters <arducopt...@ googlegroups.com>; Randy Mackay <rmac...@yahoo.com>

Michael Utz

unread,
Jun 19, 2013, 2:17:28 AM6/19/13
to drones-...@googlegroups.com
still have my drift problem when i yaw in loiter.
i did recalibrate the accelerometer, compass dance, compassmot, declination 1.56 deg for my location.
 
changed the AP_MotorsQuad.cpp to the following
 

// X frame set-up

add_motor(AP_MOTORS_MOT_1, 55, AP_MOTORS_MATRIX_YAW_FACTOR_CCW, 1);

add_motor(AP_MOTORS_MOT_2, -125, AP_MOTORS_MATRIX_YAW_FACTOR_CCW, 3);

add_motor(AP_MOTORS_MOT_3, -55, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 4);

add_motor(AP_MOTORS_MOT_4, 125, AP_MOTORS_MATRIX_YAW_FACTOR_CW, 2);

because i realisen my new quadframe is not square distance between the Motors 31 cm long 42 cm width.

as attachment my vibration level on x.y.z , the configuration file and a picture of the Copter

thanks for your help

 

vibration.jpg
quad_neu.param
Foto.JPG

Randy Mackay

unread,
Jun 19, 2013, 10:23:33 PM6/19/13
to sevet, drones-...@googlegroups.com, ArduCopterTesters
Sevet,

     So you're most likely bumping into the board voltage check.  It's a tricky one because plugging your APM into the computer via the USB cable will mean the APM will get 5V from the computer even though your battery normally can't provide that.  So it's possible to pass the check when it's connected via USB cable but not when only the battery is connected.

     A few possible solutions:
         1. use telemetry to connect the APM to your computer.  This will let you confirm on the mission planner HUD that it's the board voltage that is the problem.  You'll also be able to see the board voltage in the mission planner's Flight Data screen's Status tab.  Look for "hwvoltage".  it need to be between 4.3V and 5.8V.
         2. check the voltage across the middle and bottom rows of the input pins going into your APM from the radio receiver.
         3. set the ARMING_CHECK parameter to zero to disable all checks and just hope for the best (not recommended).

     I know it's annoying to not be able to fly but who knows, the checks may be highlighting a problem with the set-up that your weren't aware of and may in fact be saving you from a nasty and mysterious crash.

-Randy



From: sevet <sse...@gmail.com>
To: drones-...@googlegroups.com
Cc: ArduCopterTesters <arducopt...@googlegroups.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Thursday, June 20, 2013 9:54 AM

Subject: Re: ArduCopter 3.0-rc6 available -- need an introductory video

Started with clean RC3 and upgraded to RC5, worked great, no problem, upgraded to RC6 did eeprom erase to get a clean start, also took the mag to en external one, did all the calibrations (8% compassmot), but arming mostly doesn't work. 

I don't have a message on mission planner as what the fault is.
sometimes it will start arming and continues arming when plugging and inserting the battery, but then after a while, not arming and no reason, even couldn't get a log.

What can I check that is failing? how do i see how mach volts does the board get?
I have also a friend who is new to APM with a new board, just installed it, 2.9 worked for him, went to 3.0, at first MP complaint about the compass, but after that no complaint but also no arming for him as well, he disabled pre-arm checks and it started working, but thats bypassing the problem.
MPBoardVoltage.png

Andy Newman

unread,
Jun 20, 2013, 5:04:20 AM6/20/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay
Hi.

Managed to get the quad updated to latest RC6 and get a few flights in. So far all is working very well, no problems with circle mode anymore.  Thanks for the great work you are all doing.

Andy.

sevet

unread,
Jun 20, 2013, 9:40:10 PM6/20/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay

I don't know where to start....
 
I will try to be informal and brief.
 
I had the arming problems and sometimes it worked, as Randy suggested, it wasn't a voltage issue, I truned off the pre-arm checks (made sure the parameter was 0 and stayed that), still no arming.
 
I found the problem was my 1.2G FPV VTX, when set to ch4-8 I (1080hz-1240hz) can't arm, I get no response from APM, ch9-chC 1280-1360hz, I can arm every time, i can see it while powered and I change the VTX channel.
 
I have a 433hz radio so it's not the problem and I can turn my leds on/off from external RC controlled switch so I do have controll on the radio RX.
 
Flying RC5 with same setup and same 1.2G channel, I had not problem.
This was the small issue
 
Now the crash... I know I did some mistakes on the following but there was a big basic problem.
2.9.1 was my first Quad copter, flew on first try default PID setting.
3.0RC3 was my first 3.0 version, did a complete wipe and started from scratch, flew great no issues.
3.0RC5 was an upgrade from RC3 not scratch start, also did a compassmot with 200% interference result
RC5 still flew pretty good (upgraded from RC3)
RC6 I made sure i d/l the later RC6 without the RCMAP (I think there were actually 3 RC6s(?))
Did a scratch install on RC6, moved compass to external one, compassmot on 8%
 
Couldn't arm sometimes and went to fly - no arm, disconnect VTX armed, reconnect VTR.
All tests on stab
Tried to lift off - as soon as it was 40cm above ground it started wobbling and throttle to zero was very delayed, managed to land.
The only different was I changed rate P to 0.135 - it says from small motors 0.150 I wasn't sure what was mine 850kv 250W 3S with 11"x4.7 props,
Changed rate P to 0.15 as it was on RC5,
Tried to lift , wobble and flip - Throttle doesn't slow motors well when It is starting to act up.
No damage...
 
Now my mistakes - I have an instinct to disarm after land, disarm also didn't work because of the VTX related issue, so no disarm.
For some stupid reason I turned of the Radio, RX failsafe was set to RTL, the Quad Zoomed to the skies, I reacted real quick, turned on the radion and manage to fairly good land, when it zoomed to the skies with firm throttle there were no wobbles.
And now for the really really stupid part, I turned radio off again ! setting it to RTL again, but it leved at 4m and started moving away, Radio was already on, throttle down, now response for 3 long seconds or so, than crashed to the floor with the momentum it had, could have been worse, 4 ruined CF 11" props, one ruined 433 antenna, the compass pole I can fix.... the 1.2 vee antenna I straightened.
 
The huge problem is the wobbling and how come it only happened on scratch v3,
 
I have a friend who is much  more expirienced and got an APM for the first time yesterday, flew 2.9.1 with no problems and when he put 3.0 he was compailining to me that he couldn't arm, and when he did fly it was uncontrollable, when he lowered the P until he could control it it was so low that he couldn't steer his quad, I though it was because he didn't do something corectly, I do believe he also has 1.2G VTX
 
I think its related to doing a scratch install.
Sorry for the long story, RC5 (upgraded from RC3) worked great for me.
 
 
 
 
2013-06-21 03-01 7.log
2013-06-21 03-01 6.log
2013-06-21 03-01 5.log
2013-06-21 03-01 4.log
2013-06-21 03-01 3.log
2013-06-21 03-01 2.log
2013-06-21 03-01 1.log

Randy Mackay

unread,
Jun 20, 2013, 10:20:12 PM6/20/13
to sevet, drones-...@googlegroups.com, ArduCopterTesters
Sevet,

      I've had a look at some of the logs that you posted.  They're mostly very short logs with not much flying in them.  I don't see anything obvious to cause wobbles.

     One small thing unrelated to the wobbles is the range of channel 3 is very large (986 ~ 2020) and the min (986) is quite close to the throttle failsafe trigger (FS_THR_VALUE) of 975.  A little bit of jitter could cause the failsafe to trigger.  I think they should be at least 20 apart.  By the way, there's no advantage to making the min/max range of the transmitter so large.  It all gets scaled back to a 0 ~ 1000 value in arducopter anyway.

     Sorry I can't be of more help.  If you have a longer log  - like your friend's who couldn't control the copter, I'm happy to give the analysis another try.

-Randy



From: sevet <sse...@gmail.com>
To: drones-...@googlegroups.com
Cc: ArduCopterTesters <arducopt...@googlegroups.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Friday, June 21, 2013 10:40 AM

Subject: Re: ArduCopter 3.0-rc6 available -- need an introductory video

Olivier ADLER

unread,
Jun 21, 2013, 12:07:10 PM6/21/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay

Sevet, i can see that you have a GPS failsafe error (error 7/1, ERROR_SUBSYSTEM_FAILSAFE_GPS, ERROR_CODE_FAILED_TO_INITIALISE) from the log 1 and 2.

This is probably caused by your 1280 Mhz video transmitter, causing troubles in the GPS (GPS L1 is near this frequency at 1575.42 MHz Mhz).

Quite often the design of those 1.2 Ghz transmitters is very low cost, initially designed for baby spying without attention about output harmonics and filtering.

You could try to put a low pass filter on your video transmitter. But the safe solution would be to use a 5.8 Ghz one.


Olivier

 

sevet

unread,
Jun 21, 2013, 2:32:42 PM6/21/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay
I was on channel 7 which is 1200hz, I couldn't arm even with pre-arm checks turned off.
On rc3 and rc5  with ch7 1200hz I had no issues, also on ch9 1280 i can arm with no problem.

I had switch to RTL when i turned of my radio, my RX was set to RTL failsafe.

BTW: when I swooshed to the sky for RTL it wasn't wobbling.
Isn't there a way to "fool proof" RTL or loiter not stating motors if switched to on ground even if it was armed (problem actually was I couldn't disarm), set the crash aside, it was really dangerous.

5.8 then end result is less good than 1.2, I though lowpass filter on the 1.2 was for the 2.4 radio, I have 433hz, will it help the GPS which is on 1575? 

And still, i couldn't arm indoor with no gps fix and could arm on different channel with no gps fix. and on rc3 and rc5

Andy Newman

unread,
Jun 22, 2013, 9:16:08 AM6/22/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay
Hi.

Randy, I wonder if you could have a look at my logs and see if you can see a problem that is causing my un commanded clockwise yaws.  I have had this problem since moving to v3 through most rc.  Last night I changed all my motors for brand new ones, thinking it could be a weak motor but this has only seemed to make the yawing worse.  Today I done a complete factory reset and erase and installed a fresh 3.0.0 from mp.  I thought that it might be a parameter that I had changed at some point but the problem is still there with default parameters.

I never had this problem in 2.9.1b

The logs are from a flight just done. the wind was a bit gusty but I kept it low and mainly in loiter.  I did not give any yaw commands from the radio except for once just after takeoff.  I had also set compass, imu, motors to log hoping that this will make it easier for you to advise me.

I do recall a few other people posting with clockwise uncommanded yaw problems in the forum.  Maybe we have something in common.  

You will notice that I seem to have a high Z compass offset.  This has always been the case with my copter and even when using the original internal compass, it was the same.  I use an external compass that is mounted just over 4 inches higher than the pdb.

Thanks for taking the time to help me.
2013-06-22 13-40 3.log
2013-06-22_13-13-16.tlog

Randy Mackay

unread,
Jun 22, 2013, 10:15:35 AM6/22/13
to Andy Newman, drones-...@googlegroups.com, ArduCopterTesters
Andy,

     It looks like you have a motor imbalance.  You can see from graphing the values from the MOT dataflash message that motors 3 and 4 are spinning about 20% faster than motors 1 & 2.

     This is likely the cause of the uncommanded yaw. 

     The best solution is to resolve the imbalance.  Perhaps it's ESCs that haven't been calibrated or a bad motor or ESC.  Another option would be to increase the Rate Yaw I and IMAX values.  I suspect you could double the IMAX without any problems.  Increasing the Rate Yaw I to be the same as the Rate Yaw P should also be no problem.

-Randy



From: Andy Newman <andy.ne...@gmail.com>

To: drones-...@googlegroups.com
Cc: ArduCopterTesters <arducopt...@googlegroups.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Saturday, June 22, 2013 10:16 PM

Subject: Re: ArduCopter 3.0-rc6 available -- need an introductory video
MotorImbalance.png
IncreaseYawGains.png

DanielB

unread,
Jun 22, 2013, 10:21:25 AM6/22/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay

Hi.

Greetings.

Instinctively when asked to upgrade, I did so MP to latest version (1.2.55)... Liked the great new look and some other cosmetic changes.  Great job.

So off I go to my backyard flights "workout" resulting to some weird close encounter of the 5th kind, you know the "kiss earth" type (LOL ;) but has it not been for my t'heli flying experience and quick recoveries, my quad would have ended up in pieces. 

E.g. from the previous "perfectly" tuned, even keeled, highly predictable Dr. Jekyll quad, suddenly Mr. Hyde shows up with out warning with tendencies to violently lunge forward or back, attacking trees, my wife's lovely flower patch, and the patio ground... also, the twitches are also back.

Just wondering if I'm inadvertently turning on something like an accelerometer auto calibration during my pre-flight arming proceedure:  wait for a solid GPS 3D lock,  then do a 5 sec rudder-right (left) stick to arm. 

Thanks.

All the best.
Daniel
2013-06-22 09-57 2-T30b-es-QC07.log
2013-06-22 09-19-46-T30b-es-QC07.tlog

Randy Mackay

unread,
Jun 22, 2013, 10:59:39 AM6/22/13
to DanielB, drones-...@googlegroups.com, ArduCopterTesters
Daniel,

     You're not too specific about what you want me to look at so I just had a general look at your logs:
  • You're using a modified version of the code?  Not sure what's been added/changed but please remember that the code is very low on CPU time so any expensive additions could negatively affect basic functions.
  • I see you have the fence enabled but not the throttle failsafe.  I think the thr failsafe is quite a basic feature and if you're safety conscious that's one to turn-on
  • Your Pitch and Roll I terms are quite high at 0.26.  I hear some people say that our current default of 0.1 is too low so perhaps this is ok.  I've never tried as high as 0.26
  • The GPS Hdop values are spiking above 3.0 numerous times through the flight.
  • I see a few ugly looking desired pitch spikes.
  • The logging is more efficient than 2.9.1b but You might want to turn off the INAV dataflash message.

-Randy



From: DanielB <dber...@gmail.com>

To: drones-...@googlegroups.com
Cc: ArduCopterTesters <arducopt...@googlegroups.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Saturday, June 22, 2013 11:21 PM

Subject: Re: ArduCopter 3.0-rc6 available -- need an introductory video
GPSspikesAndDesPitchSpikes.png

Andy Newman

unread,
Jun 22, 2013, 11:28:08 AM6/22/13
to drones-...@googlegroups.com, Andy Newman, ArduCopterTesters, Randy Mackay
Hi Randy.

I have tried what you suggested by increasing the rate yaw I and imax values but the problem remains.  I would have thought that a motor imbalance would cause the quad to constantly yaw, but in my case it holds heading for a while and then yaws then holds and then yaws again, repeating the cycle if I don't correct it.  Looking at the ATT graph, I can see that YawIn is showing my actions but Yaw and NavYaw are increasing the clockwise yaw in bursts.

As I said all motors are brand new and only changed to see if it was a motor problem.  I have no idea how to check if one of the  esc is causing it but I did do a calibration of the esc's when setting the new install up today. I have done 5 esc calibrations since first having this problem with version 3

I have included a graph where it is showing the NavYaw telling copter to yaw.  Should this happen without YawIn ? 

Is it worth me going back to 2.9.1b and see if the problem is there on that version?  are there any gotcha's in going back to that version from 3? will i need to do a factory reset and erase again?

Cheers. Andy.

Andy Newman

unread,
Jun 22, 2013, 12:50:08 PM6/22/13
to drones-...@googlegroups.com, Andy Newman, ArduCopterTesters, Randy Mackay
Hi Randy.

I have just installed 2.9.1b back on my quad and had a flight and the yaw problem has vanished.  It held the yaw direction perfectly through the 6 min flight.  This must confirm that it is a bug in version 3 that is causing it.  I have included my log with raw and motors logged for you to check.

Cheers. Andy.

P.S.  I would much rather have version 3 than 2.9.1b



On Saturday, 22 June 2013 15:15:35 UTC+1, Randy Mackay wrote:
2013-06-22 17-44 3.log

DanielB

unread,
Jun 22, 2013, 1:34:11 PM6/22/13
to drones-...@googlegroups.com, DanielB, ArduCopterTesters, Randy Mackay
Sorry if I was a bit vague.  I certainly appreciate the insights, time and efforts, Randy.

What I was trying to get to is what might be causing the violent lunge forward or back (1st and 2nd occurrences, respectively) which I haven't seen for a while. 

Could it be the Hdop spikes. ..notices, the Hdop tends to spike everytime there's a drop in Sat count... But I'm assuming that we have sampling algo that would filter out any error effect this may have on navigation (guessing here ;)

You're using a modified version of the code?
There's a slight mod I did, line 141 of AC_WPNav.cpp : target_dist = constrain_float(target_dist, 0, _loiter_leash); // orig. _loiter_leash*2.0f.  I've flown with this mod and found the stops more predictably precise and locked in, compared to the original, coming from full stick maneuvers in loiter as well as switching from other modes like alt-hold full stick speed motions.. The original has smoother stops but tends to drift significantly (could just be my copter)..

On a side note, some modes I'm keen on doing is a LOGO like command based, systems parms and interrupt conditional capable, relative waypoint navigation capability based on IMU and magnetometer.. I have a bit of custom LOGO functions and autopilot programs, such as function call enhancements, auto thermal hunt, that's I've enjoyed flying with my gliders (with UDB4/MP open systems) and would be nice of bringing this in in APM arduplane .. In addition, I'm also keen on looking at the possibility of inserting (using interrupts?) priority channel assignment for a kill (motor) switch.  Wonder if these mods are at all possible.. any thoughts?

Cheers.
Daniel
T030a-es-QC07-HdopSpikes.JPG

DanielB

unread,
Jun 22, 2013, 4:54:23 PM6/22/13
to drones-...@googlegroups.com, DanielB, ArduCopterTesters, Randy Mackay
Hi Randy.

FYI  Just stepped in from a backyard flight, and good news, problems solved. 

No twitching, no abrupt lunging at any time, excellent hold, locked-in stops, with occasional minimal drifts (<.5m) all throughout of the 9 min. loiter flight! 

This is after an accelerometer recalibration.  Hope it stays permanently that way.

Thanks for the insights.

All the best.

Daniel

On Saturday, June 22, 2013 10:59:39 AM UTC-4, Randy Mackay wrote:

Randy Mackay

unread,
Jun 22, 2013, 9:57:02 PM6/22/13
to drones-...@googlegroups.com, DanielB, ArduCopterTesters
Daniel,

      Glad you got the problem sorted with an accelerometer calibration.

      Yes, scripting based missions will be a killer feature.  I believe Kevin Hester is working on something using Squirrel which is a cut-down version of python I think.  It'll be a px4 only feature I believe.

-Randy


Cc: DanielB <dber...@gmail.com>; ArduCopterTesters <arducopt...@googlegroups.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Sunday, June 23, 2013 2:34 AM
Subject: [drones-discuss] Re: ArduCopter 3.0-rc6 available -- need an introductory video

Sorry if I was a bit vague.  I certainly appreciate the insights, time and efforts, Randy.

What I was trying to get to is what might be causing the violent lunge forward or back (1st and 2nd occurrences, respectively) which I haven't seen for a while. 

Could it be the Hdop spikes. ..notices, the Hdop tends to spike everytime there's a drop in Sat count... But I'm assuming that we have sampling algo that would filter out any error effect this may have on navigation (guessing here ;)

You're using a modified version of the code?
There's a slight mod I did, line 141 of AC_WPNav.cpp : target_dist = constrain_float(target_dist, 0, _loiter_leash); // orig. _loiter_leash*2.0f.  I've flown with this mod and found the stops more predictably precise and locked in, compared to the original, coming from full stick maneuvers in loiter as well as switching from other modes like alt-hold full stick speed motions.. The original has smoother stops but tends to drift significantly (could just be my copter)..

On a side note, some modes I'm keen on doing is a LOGO like command based, systems parms and interrupt conditional capable, relative waypoint navigation capability based on IMU and magnetometer.. I have a bit of custom LOGO functions and autopilot programs, such as function call enhancements, auto thermal hunt, that's I've enjoyed flying with my gliders (with UDB4/MP open systems) and would be nice of bringing this in in APM arduplane .. In addition, I'm also keen on looking at the possibility of inserting (using interrupts?) priority channel assignment for a kill (motor) switch.  Wonder if these mods are at all possible.. any thoughts?

Cheers.
Daniel

On Saturday, June 22, 2013 10:59:39 AM UTC-4, Randy Mackay wrote:
Daniel,

     You're not too specific about what you want me to look at so I just had a general look at your logs:
  • You're using a modified version of the code?  Not sure what's been added/changed but please remember that the code is very low on CPU time so any expensive additions could negatively affect basic functions.
  • I see you have the fence enabled but not the throttle failsafe.  I think the thr failsafe is quite a basic feature and if you're safety conscious that's one to turn-on
  • Your Pitch and Roll I terms are quite high at 0.26.  I hear some people say that our current default of 0.1 is too low so perhaps this is ok.  I've never tried as high as 0.26
  • The GPS Hdop values are spiking above 3.0 numerous times through the flight.
  • I see a few ugly looking desired pitch spikes.
  • The logging is more efficient than 2.9.1b but You might want to turn off the INAV dataflash message.

-Randy



From: DanielB <dber...@gmail.com>
To: drones-...@googlegroups. com
Cc: ArduCopterTesters <arducopt...@ googlegroups.com>; Randy Mackay <rmac...@yahoo.com>

Randy Mackay

unread,
Jun 22, 2013, 10:20:16 PM6/22/13
to Andy Newman, drones-...@googlegroups.com, ArduCopterTesters
Andy,

      Thanks for testing this out.  There's one other user out there who reported the same kind of thing.  We think it's likely to do with the stability patch changes but I wouldn't go so far as to say it's a bug but rather that it's less forgiving of yaw imbalances.

      Did you try increasing the Yaw Rate I and IMAX?

-Randy



Cc: Andy Newman <andy.ne...@gmail.com>; ArduCopterTesters <arducopt...@googlegroups.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Sunday, June 23, 2013 1:50 AM

Subject: Re: ArduCopter 3.0-rc6 available -- need an introductory video
Hi Randy.

I have just installed 2.9.1b back on my quad and had a flight and the yaw problem has vanished.  It held the yaw direction perfectly through the 6 min flight.  This must confirm that it is a bug in version 3 that is causing it.  I have included my log with raw and motors logged for you to check.

Cheers. Andy.

P.S.  I would much rather have version 3 than 2.9.1b



On Saturday, 22 June 2013 15:15:35 UTC+1, Randy Mackay wrote:
Andy,

     It looks like you have a motor imbalance.  You can see from graphing the values from the MOT dataflash message that motors 3 and 4 are spinning about 20% faster than motors 1 & 2.

     This is likely the cause of the uncommanded yaw. 

     The best solution is to resolve the imbalance.  Perhaps it's ESCs that haven't been calibrated or a bad motor or ESC.  Another option would be to increase the Rate Yaw I and IMAX values.  I suspect you could double the IMAX without any problems.  Increasing the Rate Yaw I to be the same as the Rate Yaw P should also be no problem.

-Randy



From: Andy Newman <andy.ne...@gmail.com>
To: drones-...@googlegroups. com
Cc: ArduCopterTesters <arducopt...@ googlegroups.com>; Randy Mackay <rmac...@yahoo.com>

Randy Mackay

unread,
Jun 22, 2013, 10:54:19 PM6/22/13
to Andy Newman, drones-...@googlegroups.com
Andy,

      Sorry, I see that you did try to increase the Yaw Rate I and IMAX.  I'm a little surprised that didn't help.

     What you're seeing when you graph NavYaw vs actual Yaw is that the desired yaw (Nav Yaw) is getting dragged around behind the actual yaw.  This is because in the code, we do not allow the Desired yaw to be further than 10 degrees from the actual yaw.

     Please try these two possible fixes:
  • increase Stab Yaw P and Yaw Rate P by 50%
  • add this line to your APM_Config.h:
    • #define MAX_YAW_OVERSHOOT            2000

      A 20% imbalance in your clockwise vs counter-clockwise motors is significant though and I think that should be the focus of trying to fix this.

-Randy


From: Randy Mackay <rmac...@yahoo.com>
To: Andy Newman <andy.ne...@gmail.com>; "drones-...@googlegroups.com" <drones-...@googlegroups.com>
Cc: ArduCopterTesters <arducopt...@googlegroups.com>
Sent: Sunday, June 23, 2013 11:20 AM

Andy Newman

unread,
Jun 23, 2013, 5:50:32 AM6/23/13
to drones-...@googlegroups.com, Andy Newman, Randy Mackay
Hi Randy.

Thanks for the replys.  I have looked through the forum and found that 4 others mention the same problem as me, strangely they all are using the same frame design as me, DJI Clone F450 Flamewheel.  It seems there is a design flaw in this type frame that causes the imbalance between CW and CCW motors.  I did try shimming one motor on one side to put a bit of tilt on it but this made no difference.  This is a very popular frame type so I fear you might be getting a lot more messages when v3.0.0 goes public.  I totally agree that searching for a fix for the imbalance is the best option but that might be beyond the general users skill level to fix.

I will try your changes and see if that helps with the problem. Is the config.h accessible without compile or do i need to download the source and do it that way?  if source then could you point me to the current source, I have never used github and get a bit lost  in it.

Andy.  

Randy Mackay

unread,
Jun 23, 2013, 10:13:30 AM6/23/13
to drones-...@googlegroups.com, Andy Newman
Andy,

      You can find a zip with the code here:
            http://ardupilot.com/downloads/?did=62

      but if you've never uploaded the code before, probably best to start with just increasing the Stabilize and Rate P terms (and leave Rate I and IMAX higher too)

-Randy



Cc: Andy Newman <andy.ne...@gmail.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Sunday, June 23, 2013 6:50 PM
Subject: [drones-discuss] Re: ArduCopter 3.0-rc6 available -- need an introductory video

Hi Randy.

Thanks for the replys.  I have looked through the forum and found that 4 others mention the same problem as me, strangely they all are using the same frame design as me, DJI Clone F450 Flamewheel.  It seems there is a design flaw in this type frame that causes the imbalance between CW and CCW motors.  I did try shimming one motor on one side to put a bit of tilt on it but this made no difference.  This is a very popular frame type so I fear you might be getting a lot more messages when v3.0.0 goes public.  I totally agree that searching for a fix for the imbalance is the best option but that might be beyond the general users skill level to fix.

I will try your changes and see if that helps with the problem. Is the config.h accessible without compile or do i need to download the source and do it that way?  if source then could you point me to the current source, I have never used github and get a bit lost  in it.

Andy.  

On Sunday, 23 June 2013 03:54:19 UTC+1, Randy Mackay wrote:
Andy,

      Sorry, I see that you did try to increase the Yaw Rate I and IMAX.  I'm a little surprised that didn't help.

     What you're seeing when you graph NavYaw vs actual Yaw is that the desired yaw (Nav Yaw) is getting dragged around behind the actual yaw.  This is because in the code, we do not allow the Desired yaw to be further than 10 degrees from the actual yaw.

     Please try these two possible fixes:
  • increase Stab Yaw P and Yaw Rate P by 50%
  • add this line to your APM_Config.h:
    • #define MAX_YAW_OVERSHOOT            2000

      A 20% imbalance in your clockwise vs counter-clockwise motors is significant though and I think that should be the focus of trying to fix this.

-Randy

Sent: Sunday, June 23, 2013 11:20 AM
Subject: Re: ArduCopter 3.0-rc6 available -- need an introductory video
Andy,

      Thanks for testing this out.  There's one other user out there who reported the same kind of thing.  We think it's likely to do with the stability patch changes but I wouldn't go so far as to say it's a bug but rather that it's less forgiving of yaw imbalances.

      Did you try increasing the Yaw Rate I and IMAX?

-Randy


Cc: Andy Newman <andy.ne...@gmail.com>; ArduCopterTesters <arducopt...@ googlegroups.com>; Randy Mackay <rmac...@yahoo.com>

Andy Newman

unread,
Jun 23, 2013, 1:28:16 PM6/23/13
to drones-...@googlegroups.com, Andy Newman, Randy Mackay
Hi Randy.

I have made the changes that you suggested except for the config.h one.  I have managed to get one flight in between rain storms in my back yard.  I did not get any yawing on that flight that I could notice, although the wind was at 14mph with 25mph gusts so had to stay in stabilize mode most of the flight to control it in a confined space.  The wind is supposed to be dropping tomorrow so I will try more tests then and report back to you.

Andy.

Steve Ball

unread,
Jun 23, 2013, 2:48:44 PM6/23/13
to drones-...@googlegroups.com, Andy Newman, Randy Mackay


On Sunday, June 23, 2013 10:50:32 AM UTC+1, Andy Newman wrote:
Hi Randy.

Thanks for the replys.  I have looked through the forum and found that 4 others mention the same problem as me, strangely they all are using the same frame design as me, DJI Clone F450 Flamewheel.  It seems there is a design flaw in this type frame that causes the imbalance between CW and CCW motors.  I did try shimming one motor on one side to put a bit of tilt on it but this made no difference.  This is a very popular frame type so I fear you might be getting a lot more messages when v3.0.0 goes public.  I totally agree that searching for a fix for the imbalance is the best option but that might be beyond the general users skill level to fix.

I will try your changes and see if that helps with the problem. Is the config.h accessible without compile or do i need to download the source and do it that way?  if source then could you point me to the current source, I have never used github and get a bit lost  in it.

Andy.  


 Hi Andy,

I fly a Clone F450 Flamewheel and flies fine. I'll attach a telem log of one of my auto missions where you can try the params I use. 

Hope this helps,
Steve
2013-06-18 09-13-42.tlog

Andy Newman

unread,
Jun 23, 2013, 5:16:58 PM6/23/13
to drones-...@googlegroups.com, Andy Newman, Randy Mackay
Thanks steve, I will have a look at your settings.  My yaw problem only happens when I loiter for a length of time without any yaw input, I have not noticed it so much when in auto or general flying around.  I notice that your motors are showing a similar out of balance to mine though.  Can be seen by viewing servo 1 raw through servo 4 raw in the logs.

Is there any chance you could run a battery just in loiter without touching the yaw , ie just hovering just to see if anything does show up.

Randy I notice you have a flamewheel, is it a clone or the real dji frame?  what do your motors show in the graph.

I am beginning to suspect that my arms might have a slight twist to them although I cannot see any noticeable twist by sight and it would be a pain to strip it all down and make a jig to check them.

The last two flights that I have had did not show any yawing though after changing some settings under Randy's instruction.  I am hoping the wind will die down tomorrow so I can do some more tests though.

Andy.

Randy Mackay

unread,
Jun 23, 2013, 10:20:40 PM6/23/13
to Andy Newman, drones-...@googlegroups.com
Andy,

     I did a short flight with my flamewheel and I also have an imbalance of about 100 ~ 150 between my lowest (#3 - front left, CW) and highest (#1 - front right, CCW) motors.

     I haven't noticed loss of heading but I did notice terrible loiter performance.  I suspect I have some vibration issues.

-Randy



Cc: Andy Newman <andy.ne...@gmail.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Monday, June 24, 2013 6:16 AM

Subject: Re: ArduCopter 3.0-rc6 available -- need an introductory video

Randy Mackay

unread,
Jun 23, 2013, 10:22:43 PM6/23/13
to drones-...@googlegroups.com, Andy Newman
Andy,

     Sorry, I forgot to mention my frame is a flamewheel clone.

-Randy


Sent: Monday, June 24, 2013 11:20 AM
Subject: [drones-discuss] Re: ArduCopter 3.0-rc6 available -- need an introductory video

Robert Lefebvre

unread,
Jun 24, 2013, 10:41:14 AM6/24/13
to drones-discuss
Randy, so about that AHRS_TRIM_X question. So those params (to include Y and Z?) only have to do with autotrim?  They don't have to do with the accelerometer calibration at all?  Just want to know if I'd have to redo that if I zero out the X (and Y I think, just to get a fresh start).

And ideas on how we could handle the roll necessary to stop motion?  In Loiter, I think it would happen automatically.  In Acro mode, you'd push it over a little to the right, then relax the stick, and it should hold that attitude and stop moving.  This is what heli pilots are used to.

But in stab mode, if you zero those out, you'll have to hold some right roll on the stick to make it hover without moving.  It would be nice to do better than that.  But it becomes some weird situation where... we want some kind of offset when hovering, but not have it there when flying forward.  Starts to get complicated.

The DJI Naza-H, for helis, seems to have this thing where, if you put it in Atti mode, they just offset the roll 5° to the right. It's a fixed amount.  Lots of users complain about this because for some helis it's too much, and some it's too little.

I wonder if we could modify the Save Trim behaviour for helis, where it remembers and offset, but applies it only in Stab, and only when not moving?

Jonathan Challinger

unread,
Jun 24, 2013, 3:20:13 PM6/24/13
to drones-...@googlegroups.com
Robert - shouldn't the autotrim handle the tail rotor problem beautifully? The idea is that you manually hover it in calm air while it learns the trim.

Andy Newman

unread,
Jun 24, 2013, 3:44:58 PM6/24/13
to drones-...@googlegroups.com, Andy Newman, Randy Mackay
Hi Randy.

I have managed to have three flights today and have had no sign of the yaw problem.  The changes that I made are in the following pictures.  I also turned off some of the logging because I thought it was just taking up unnecessary cpu cycles.  One other thing that I did do was remove very tight cable ties from around each arm that were holding the esc's on and fixed esc's with padded servo tape (probably irrelevant but worth including incase they were too tight and warping the arms)  My motor graphs still look the same and the yaw now is very frisky but holds tight.  I can soften the yaw with some expo on the radio so not worried about that.

Thank you for your time and expertise in helping me sort this out.  As for the flamewheel frame, it looks like we all might have motor imbalances.

I am going to change back to my original motors now because they are a lot more efficient than the new ones.  Old ones  RCTimer HP2212-1000kv 15A hover.  New ones Turnigy D2830/11-1000kv 18A hover.  Same props.

Andy.

Robert Lefebvre

unread,
Jun 24, 2013, 4:24:42 PM6/24/13
to drones-discuss
I haven't used autotrim in a while, I use the Save Trim feature now.  Does autotrim still work?  Anyway, the end result is the same I think I think?

The real problem is that this offset is really only valid for a single flight condition: Hovering in a windless environment.  If you are hovering in a windy environment, the amount of roll required changes, not just with the wind strength, but the direction the wind is hitting the tail.  So as you yaw it around, the amount will change.

Then also, when you are flying forward, the need for tail thrust is reduced, and thus less roll required again.  The net result is, today, when I am flying forward, it tends to crabwalk through the sky, and I'm actually holding a bit of left roll to stop it.

The root cause is the single rotor heli frame is horribly asymmetric. 

Randy Mackay

unread,
Jun 26, 2013, 8:09:06 AM6/26/13
to drones-...@googlegroups.com, Andy Newman
Andy,

     Ok, good to hear you got it sorted.  So you made Stabilize P 50% higher (6.0 instead of 4.5) and Rate Yaw P 300% higher (0.6 instead of 0.2) and also increase the rate Yaw I some.  That rate Yaw P is a bit scary to be honest.  I can just imagine that any yaw input is going to cause the motors to immediately hit their min and max.

      Anyway, I guess you're flying now so all is well.

-Randy


From: Andy Newman <andy.ne...@gmail.com>
To: drones-...@googlegroups.com
Cc: Andy Newman <andy.ne...@gmail.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Tuesday, June 25, 2013 4:44 AM
Subject: Re: [drones-discuss] Re: ArduCopter 3.0-rc6 available -- need an introductory video

Randy Mackay

unread,
Jun 26, 2013, 8:29:36 AM6/26/13
to drones-...@googlegroups.com
Rob,

     From what you're saying, I think an additional heli specific parameter to capture the roll required to keep the copter level is probably the way to go...and as you suggest, updating that value as part of the autotrim (or save trim) procedure instead of modifying the AHRS_TRIM_X and Y would be good.

     We have a nice speed vector from inertial nav so we could use that to scale this additional roll back to zero as you speed forward.

-Randy


From: Robert Lefebvre <robert....@gmail.com>
To: drones-discuss <drones-...@googlegroups.com>
Sent: Monday, June 24, 2013 11:41 PM
Subject: Re: [drones-discuss] Re: ArduCopter 3.0-rc6 available -- need an introductory video

Robert Lefebvre

unread,
Jun 26, 2013, 9:06:34 AM6/26/13
to drones-discuss
Yeah, that's not a bad idea, to just scale it down.  Bleed it down to nothing by 5 mph.

It's still not really a perfect solution, but I honestly don't know what the perfect solution would be.  It's a very complicated problem.

Robert Lefebvre

unread,
Jun 26, 2013, 10:43:05 AM6/26/13
to drones-discuss, Andy Newman
Randy, I have Rate Yaw P at 0.6 on my H8 too.  I had to go that high to give me the precise yaw control I wanted for panning shots.  It is quite strong. When you give it a jab of yaw.  On an Octo, it's not so bad though.  On a Quad, it can be because you only have 2 props in each direction, so you saturate your pitch/roll output too, which will cause the stability patch to kick in.

However, by reducing Yaw Stab P to 2 or 3, you soften the control inputs.  So it is not as hard when you give it a command.  This high rate/low stab tuning is similar to what I've been doing with helis.  It results in more accurate control.  It allows the rate controller to stop errors, before they become attitude errors.

DanielB

unread,
Jun 26, 2013, 1:53:06 PM6/26/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay
Hi all.
I just tested (2 flights) a compile from current commit master, and encountered a couple of issues I thought
might help to report.

commit b21bc5a85a4780582afd10fc7f2aa0aa852543a1
Date:   Sat Jun 22 18:06:58 2013 -0700
    ~~~
    Copter: Fixed bug in battery current integration
APMVERSION: ArduCopter V3.0.1-rc1
Test log: T32a-es-QC01-2, 6-8 min. flights, 
     2.125 Kg UAW 750mm quad, 2x3S t5 A Lipo for ESCs/motor, 3s 1.3 A Lipo for other elect. system,  GoPro on
     1st flight PID increased per above, 2nd flight PID lowered down to previous tested to be excellent settings
     Weather:    mild winds with varying gusts prob. 5-12 km/hr
     Location: Backyard, modes: stabilized, alt-hold and loiter
     -   stabilize throttle altitude control somewhat loose in establishing altitude hover foothold
     -   alt-hold mode also with altitude drifting,  tends to drop during turns with increased PIDs
     -   alt-hold stabilized with default tested PIDs
     -   loiter on 2nd flight with twitched at least 1x
     -   loiter mode full stops very loose, with significant  back and forth drifting, from  mild relocation
     -   with both flights, GPS  sat locked seem unable to go beyond 7 (remains at 6-7), whereas, reverting
         to previous compile/commit, went back to 9 - 11 sat number (could be coincidental?)
     -  MP's (both r.53 and r.56) logs download doesn't work, and cli seems buggy
Notion:  this release seems to have some issues to cause GPS and MP (log download/cli) dysfunctions
               revert back to T031a-es (commit  Sun Jun 23 15:52:46 2013 +0900)
               To-do: time permits, selectively update T031a-es ONLY with critical BUG FIXES and patches
Sorry no logs as MP's log download has stopped working.

Hope this helps.
Daniel

Randy Mackay

unread,
Jun 27, 2013, 4:14:15 AM6/27/13
to drones-...@googlegroups.com, ArduCopterTesters
Daniel,

     thanks for the report on flying master.

     I'm pretty sure the performance is mostly related to the flying conditions in particular the low GPS sat count is likely causing the loiter drift.  You say "coincidence?" in your comments and I think you're totally right.  I'm 99% certain that we haven't changed anything that could affect the GPS behaviour.

-Randy



Cc: ArduCopterTesters <arducopt...@googlegroups.com>; Randy Mackay <rmac...@yahoo.com>
Sent: Wednesday, June 26, 2013 7:53 AM

Subject: [drones-discuss] Re: ArduCopter 3.0-rc6 available -- need an introductory video
--

DanielB

unread,
Jun 27, 2013, 11:04:56 AM6/27/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay
Hi Randy.

You're right.. as suspected, it's the flying conditions, confirmed by a test flight just a few min. ago:

commit b00e5d95c9ba8929ba69a1eed815a7eb6c9ede5c
Date:   Wed Jun 26 16:09:42 2013 -0400
    Update AnalogIn.cpp
   ~~~
Version: ArduCopter V3.0.1-rc1-es (with minor mod...)
t33a-QC03, 9 min. flight
     2.065Kg UAW 750mm quad, 1x3S t5 A Lipo for ESCs/motor, 3s 1.3 A Lipo for other elect. system,  GoPro on
     Weather:    calm but very cloudy, warm and humid

     Location: Backyard, modes: stabilized, alt-hold and loiter
     -   stabilize throttle altitude control very stable
     -   alt-hold mode also stable, without altitude drifting,
     -   loiter mode 3D hold, locks-in (occasional minimal drift of <.25m, wow!),  incredibly firm
         even after full blender/snap turns and short -full stick/speed maneuvers, all directions
     -   loiter twitch gone
     -   sat. count, 8, normal
     -   MP terminal works...
    Notion: think this is perfect; next, test in the park for auto mode and variant features.

Cheers.
Daniel
2013-06-27 10-50 1-T33a-es-QC01.log
2013-06-27 10-27-24-T33a-es-QC01.tlog

Robert Lefebvre

unread,
Jun 29, 2013, 5:13:23 PM6/29/13
to drones-discuss, ArduCopterTesters, Randy Mackay
So far so good for me with 3.0 on my H-8.

Well, other than this.  We really need to figure out a way to protect for this.  No harm no foul in this case.  But it could have gone bad.
GPS Glitch.png

Olivier ADLER

unread,
Jun 29, 2013, 5:52:43 PM6/29/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay

What we could do is adding a dynamic Lat / Lon offset when HDOP is rising or dropping suddenly (HDOP derivative), to compensate for the GPS jump, relying on inertial.

Most of the time those jumps are quite fast because they are induced by a change in visible satellite count. Inertial could help here to detect those jumps when HDOP derivative is high and GPS / inertial correlation is bad.

Not sure that will work reliably nevertheless but could be interesting to try it.


We still have many users starting to fly without reading Wiki recommendations and asking too much to their setup. The GPS system has not been designed to fly UAVs at a couple meters altitude between buildings or trees. Quite often we are seing users asking why they don't have a rock solid GPS position in those difficult GPS reception conditions.


GPS receivers are designed to receive satellites as low as 5° above the horizon. This mean that without a 170° vertical field of clear sky view around in all directions, GPS reception can be compromised or fully interrupted.

It's possible to rise this 5° horizon limit to a higher number, like 8° or 15°, but the drawback is that there will be periods where you will catch less satellites. You will get less precision, but jumps should be smaller because higher satellites have generally a more stable signal and have less probability for signal obstruction and multipathing.



The best solution i think is to spread GPS knowledge, that's why i did wrote those Wiki pages (published and enhanced by Gary) :

http://copter.ardupilot.com/wiki/common-gps-how-it-works/

http://copter.ardupilot.com/wiki/gps-failsafe/


From "Technical background and safety recommendations" :


The GPS system is not designed to be used as a primary navigation system. So you should be aware that GPS signal dropouts or integrity problems events can occur from time to time, even if predicted satellite elevations, dilution of precision, and visible satellite counts are favorable during all the duration of your fly.

It is particularly important to avoid auto mission flying inside canyons, between buildings, mountains or inside backyards because of heavy multipathing producing large GPS errors. Fix probability will drop dramatically in those conditions from about 99% to 38 % and position errors can rise to hundred meters or more.

Only a clear sky view will give good results.


john...@gmail.com

unread,
Jun 30, 2013, 8:58:54 AM6/30/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay
Detecting the jump should be simple since I suspect in most cases it would be physically impossible for an airplane or copter to accelerate/turn quickly enough to move the distance of a gps jump in the time frame of one gps update. Also in the short term (1-2 seconds?) inertia will be more accurate then GPS se we have something to check against. Using this it should be possible to smooth out the gps jump and slowly adjust copter heading until inertia and gps converge again.

Alternatively if we project a sphere around the copter representing the possible movement of a simple copter/airplane model within the next ahrs frame, we can detect both gps and inertia faults and select the data that best fit the expected behavior.

- JAB
Message has been deleted

Olivier ADLER

unread,
Jun 30, 2013, 1:15:53 PM6/30/13
to drones-...@googlegroups.com, ArduCopterTesters, Randy Mackay

John, i think that there is an even better solution than smoothing a jump. Because when you get a GPS jump because of one or more satellites becoming invisible, the position offset induced by the jump will be most of the time constant until a new jump occur.

In those (frequent) cases, the best would be to add a dynamic position offset, so that the copter does not try to go at the newer position, but stay at the same location. This is what a pilot will do manually in Loiter mode, to compensate for jumps.

I think that it is possible to detect that, watching for visible satellite count, HDOP, GPS position and inertial sensors, using some kind of fuzzy logic,nevertheless this does not seem like a simple thing to do to get a reliable behavior 99% of the time and will need a few hours of field testing to adjust the settings.

GPS smoothing (actually INAV_TC_XY) could be linked more or less with the HDOP value, and the dynamic position offset applied watching for HDOP derivative and a couple of other variables like GPS acceleration and speed and correlation with inertial sensors.



Olivier
Reply all
Reply to author
Forward
0 new messages