Developer

Copter-3.3 beta testing

Warning #1: an issue has been found with Tower's Pause button which can cause the vehicle to fly to an old position if the vehicle has not sent a position update to Tower in some time.

Warning #2: Copter-3.3.2 fixes a bug found in Copter-3.3.1's desired climb rate initialisation which could lead to a sudden momentary drop when switching from Stabilize or Acro to AltHold, Loiter or PosHold.

Warning #3: Copter-3.3.2 fixes an issue found in Copter-3.3.1 which could lead to hard landings in RTL or AUTO if the WPNAV_SPEED_DN was set too high (i.e. >400 or 4m/s) and/or the WPNAV_ACCEL_Z was set too low (i.e. <100 or 1m/s/s).

Warning #4: a bug was found in Copter-3.3 which could cause a sudden crash if you abort a Take-off initiated from a ground station.  Video description is here.  The bug is fixed in Copter-3.3.1 so we recommend upgrading.

Note #1: AC3.3-rc8 corrected a long standing bug in the HDOP reporting.  HDOP values will appear about 40% lower than previously but this does not actually mean the GPS position is better than before.
Note #2: if upgrading from AC3.2.1 the vehicle's accelerometer calibration needs to be done again.
Note #3: set SERIAL2_PROTOCOL to "3" and reboot the board to enable FrSky telemetry like in previous versions.
Note #4: the wiki will be updated over the next few weeks to explain how to use the new features

Copter-3.3.1 is available through the mission planner.  The full list of changes vs AC3.2.1 can be see in the ReleaseNotes and below are the most recent changes since AC3.3.

Sadly this version (and all future versions) will not run on the APM2.x boards due to CPU speed, flash and RAM restrictions.

Changes from 3.3:

1) Bug fix to prevent potential crash if Follow-Me is used after an aborted takeoff

2) compiler upgraded to 4.9.3 (runs slightly faster than 4.7.2 which was used previously)

Changes from 3.3-rc11:

1) EKF recovers from pre-arm "Compass variance" failure if compasses are consistent

Changes from 3.3-rc10:

1) PreArm "Need 3D Fix" message replaced with detailed reason from EKF

Changes from 3.3-rc9
1) EKF improvements:
    a) simpler optical flow takeoff check
2) Bug Fixes/Minor enhancements:
    a) fix INS3_USE parameter eeprom location
    b) fix SToRM32 serial protocol driver to work with recent versions
    c) increase motor pwm->thrust conversion (aka MOT_THST_EXPO) to 0.65 (was 0.50)
    d) Firmware version sent to GCS in AUTOPILOT_VERSION message
3) Safety:
    a) pre-arm check of compass variance if arming in Loiter, PosHold, Guided
    b) always check GPS before arming in Loiter (previously could be disabled if ARMING_CHECK=0)
    c) sanity check locations received from GCS for follow-me, do-set-home, do-set-ROI
    d) fix optical flow failsafe (was not always triggering LAND when optical flow failed)
    e) failsafe RTL vs LAND decision based on hardcoded 5m from home check (previously used WPNAV_RADIUS parameter)

Thanks for your testing!

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

Join diydrones

Email me when people reply –

Replies

      • Hi Rob,
        i connected the battery and let things boot up. before the motors were started the led was flashing blue.
        Then as the motors were started, the led changed to yellow/red. I take off and noticed a strange behavior while copter was loosing level. I think only roll axis is affected. To fly level i had to steer against,
        Then i landed and just waited some minutes for GPS 3D lock,
        Then restarted and fly some figures like always.

        https://www.dropbox.com/s/6kruxbbg6oqe47n/2015-07-09%2018-26-01.zip...

        Dropbox - Error
        Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share them easily. Never email yourself a file again!
        • EKF is a big improvement, no question about. In the backyards i have a spot were the gps signal is really poor because of tree's. in earlier version's, without ekf the copter suddenly rocket sidewards while in loiter. With ekf this doesn't happens anymore, really nice.
          This copter is build for acro fun and therefore the main spot wasn't to have low noise on gps or compass. likely more to have as much power as possible for dynamic Flight maneuvers but still to have the possibility to use all the other stuff for missions and so on.
          So this is one extreme use case i think and a good base to improve ekf. for now i can't contribute more as providing the test material, if you guys need more logs let me know.
        • Developer

          there is an EKF check at the beginning of the log and the Attitude's ErrRP is high-ish which indicates that the EKF doesn't think it has a good roll-pitch estimate.  This is really just confirming what you saw, almost undoubtedly this is going to come down to another investigation of the EKF's behaviour.

          3702792056?profile=original

  • Hi Leonhard,

    Back with a fresh log of Autotune with the T960:

    The PI values are not much lower than with aggr set to 0,06 maybe because it wasn´t as calm as suggested.

    Without having  much background I think by lowering the possible Atune_aggr. to 0,04 or 0,03 I could get better results.

    Also you can see that the ATC RP valus are on the low end that autotune can create(18" props with pancake motors and BLHeli ESC).

    Maybe it would be uncritical to allow a lower range for ATune_Aggr and the ATC values for Autotune (0,03 for the aggr, ATC RP 34000 and ATC Y 8500)

    I would like to get rid of my vibrating motors? Maybe a to soft dampening could also be responsible for that results (You can zoom in the photos).

    Replacing the gimbal with some stiff balast did not change anything in Atune results.

    https://www.dropbox.com/sh/dnarxid3xychq1u/AADKFswaADCzTSE_uCl6Eupq...

    Many thanks, and sorry for my poor english,

    Cheers Gregor

    Dropbox - Link not found
    Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share them easily. Never email yourself a file again!
    • @Gregman.

      Not sure this is applicable in your case but it worked for me. 

      On a medium size T960 the 25 mm CF tubes act as "musical instruments". The fundamental and beat frequencies are "amplified" by these 25 mm tubes. Filling them up with expanding foam filler, reduce the vibration levels by 50 to 60%. (If I believe my Samsung Vibrometer app.).

      In the case of a T18 modified to an X8 coaxial quad configuration, the 1.25 meter of "tubing is even worse. Using expanding foam filler seems to improve drastically the vibrations.

      As 500 grams of payload that 450 size quads carry is *not* an option, T960 or T18 seems to be a good choice when you want a gimbal & Sony NEX size camera with 10 minutes or more in the air.

      I'll try autotune per axis with aggr 0.05 and see how it goes.

      Henri

       

      • Hi Henry,

        Thanks for that tip, but I would use your tip as last option. With the cables inside the arms ...hmmm.

        I the last weeks i am playing with the ESC settings of BLHeli 14.002 and can minimize the vibrations.

        Now I hope its enough to get the storm32 configured without wobbles and vibrations. I am using an Alpha 5100 and getting flight times to nearly 20 min, but my AUW is "slightly" above the european 5kg border ;-(.

        Autotune with aggr. of 0.05 is now almost acceptable, but I would like to have a range for playing with the values below 0.05.

        Also the ATC_accel params are hardcoded to min values for roll/pitch 36000 and Yaw 9000 in the autotune process.

        It would be very nice if Leonardt could open these borders a little bit.

        Cheers

        Gregor

        • Developer

          Hi Gregmaan,

          I could go down to 0.02 maybe on the aggr number but I will only officially support 0.05 to 0.1.

          I can't go any lower than roll/pitch 36000 and Yaw 9000. Any lower is just too slow for someone not expecting it. You can set them lower manually though.

          Sorry for the slow reply!!!!

    • Developer

      Hi Gregmaan,

      I am not sure why you think the copter is capable of higher ATC_Accel_RP values. Autotune is basing the values on the actual measurements using full throttle bursts.

      I don't have a problem letting AGGR go lower but I am a little concerned letting the ACCEL values go lower for roll and pitch. I will have a look.

  • Can anyone explain what might cause the EKF>2 RATIO to get stuck at exactly 50%?  I see that this is supposed to be the blend ratio of IMU1 & IMU2 data.  I have three 3DR boards all the same. Not sure if this is the problem ar a symptom of something else.

    Any ideas would be greatly appreciated. 

    Last week Randy suggested that my EKF ERRORS might have been due to low GPS sat count.  I redid my backyard test with a minimum of 9 Sats and low PDOP/HDOP of about 1.48 with no change to my problem.

    I would be happy is someone could tell me what I am doing wrong.  I have posted several logs, spoken to 3DR support, done all of the usual resets and calibrations. I have been successfully flying for a couple of years now but I can't seem to get 3.3 running on any of my systems, even the 3DR RTF Y6B.

    • Developer

      Alex,

      I had a look at your log and I've asked PaulR to have a look as well.  The EKF is going into "constant position mode" which means that it's not at all confident of it's ability to estimate it's position so it's given up.  It's still slightly difficult (I think) to dig out the important info from the EKF but in any case, this "constant position mode" flag is in the EKF4 message's SS field's 7th bit.

      Of course the next question is, "why is it in constant position mode?".  I don't know, although I suspect it's the GPS.  The GPS seems to be missing messages about 12% of the time.

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @DanielChiaJH: @a1k0n @diyrobocars @circuitlaunch And here's the final showdown! Video courtesy of @chr1sa I think I was a little faste…
7 hours ago
DIY Robocars via Twitter
RT @DanielChiaJH: @a1k0n @armand_dpl @SmallpixelCar @diyrobocars @circuitlaunch I use @foxglovedev Foxglove Studio for my visualization nee…
7 hours ago
DIY Robocars via Twitter
7 hours ago
DIY Robocars via Twitter
RT @a1k0n: @DanielChiaJH @diyrobocars @circuitlaunch Here's my car's view of that race. About 8.4 second lap times for laps 2 and 3... both…
Monday
DIY Robocars via Twitter
RT @DanielChiaJH: Great racing against @a1k0n today at @diyrobocars! Pretty cool to both break sun-9s at the track today I think I got very…
Sunday
DIY Robocars via Twitter
Broadcasting the @circuitlaunch race live now at https://m.twitch.tv/diyrobocars Races begin around 2:00pm PT
Saturday
DIY Robocars via Twitter
RT @a1k0n: ran a huge number of hyperparameter tuning experiments yesterday; now I can train a new policy, far with better quality, in 15 m…
Saturday
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…
Sep 26
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…
Sep 26
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…
Sep 26
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
More…