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

    • Spinning in an office chair should be avoided because its steel and had disturbes the field. You should do it outside away from large steel objects(cars). Having said that, the numbers indicate that mag 1 has failed or has a huge interference. Try disabling it.

      • Oh boy that would suck if the internal compass was on the fritz. I'm sure that's not an easy fix. I tried the MAG_ENABLE option in Mission Planner and it disabled both the internal and external it appears. I couldn't get over 3 samples with it on and once turned off it would at least give points. 

        • Dave,  MAG_ENABLE is not the param you want. Look for COMPASS_USE in the full param list. You can enable/disable each compass. I haven't tried this, my compass works great and I found all 3 enabled and I don't have a #3 compass. I have never don a compass_mot cal. I just assumed I am using the external compass on a mast. If one has failed, turning it off could get you flying. Maybe I should do a compass mot cal in case I loose the primary compass.

  • Another thing I notice. I'm flying with only int compass until I solve ext one, I calibrate and all looks well but flying with Tower, in middle fligth without changing nothing flag EXF (great tool) becomes orange and red, then I do another fligth but with no Tower but notice in the two logs that offset changes, that's common? I never see in other logs. (one log is the same share.)3702099685?profile=original

  • here the log

    2015-09-26 10-23-27.bin

    https://storage.ning.com/topology/rest/1.0/file/get/3702099525?profile=original
  • I test 3.3 rc12, It's looks much stable than 3.2.1 but I change many things to evalute exact difference, (controller, dampening system and firm). The only problem I still have is mantain altitude, I notice that repeat similar issue than the APM so, I hope I'm having mistakes tunning it, It's looks that baro overreact? which param work exact there? (with APM I try Throttle accel, rate and ALT P ) Thank's

    3702099513?profile=original

  • I'm running the latest 3.3 RC12.
    I did see that note.
    And I can see why its there for safety, but then it removes any form of RTL or GPS mode tests indoors.
    (eg..making sure FS kicks in, on TX off)


    But even if I ARM in STAB mode, I can't go into any of the GPS modes afterwards.
    So trying to Arm in PosHold mode, at least gave an answer to why not.


    Basically it seems like this new safety feature completely removes all GPS modes based on GPS Pre-Arm failure.
    Good for safely, bad for testing.
    That kind of defeats the whole purpose of having the Pre-Arm Check disable feature. And degradees the flexibility of this system.

    Maybe a better solution would be to re-instate the Pre-Arm disable, and instead show status message that All Pre-Arm checks are disable.

    Going further, you could force the user to double arm. while in PreArm check OFF mode.
    At least the will to that fact that your in that mode.

    What do you think Randy?

    • Developer

      Nick,

      As you mentioned, it was dangerous in practice to allow people to arm and take-off in a mode that requires the EKF to have a good position estimate (i.e. Loiter, PosHold) without enforcing that that estimate is actually good.  I don't think we can go back on that really so instead, if this change has made testing the failsafe more difficult perhaps we should just try and make that testing easier.

      • Nick/Randy,

        Am I missing something but isn't testing the THR failsafe the same no matter what mode you are in?

        I thought that testing the failsafe in STAB or ALTHOLD was the same as testing it from one of the GPS modes. 

        I don't quite understand why you need to be in a GPS mode to test the FS behaviour.  For me, I would rather keep the arming checks as they are. It lets me know when the EKF is happy and I can choose to fly in non GPS modes. When I can ARM in a GPS mode (or with the Fence enabled) I know for sure that the EKF is happy and that things such as home/origin will be set and things like RTL will work.

        I have not had any issues setting the THR FS and testing it in STAB.  If that works it has always worked in every mode if I fly too far or I switch the Tx off.

        • Alex, one difference that would occur when testing Throttle FS, would be that if you have GPS, it will RTL.  If you don't have a GPS, then I believe it will basically go into Alt Hold and land straight down.

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…
6 hours ago
DIY Robocars via Twitter
RT @DanielChiaJH: @a1k0n @armand_dpl @SmallpixelCar @diyrobocars @circuitlaunch I use @foxglovedev Foxglove Studio for my visualization nee…
6 hours ago
DIY Robocars via Twitter
6 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…