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

      • Thanks for looking at this Rob.

        A few more...

        Lidar on 1 - there is a fairly large discrepancy between the lidar alt and the CTUN alt. Quad slowly drifts toward ground (asphalt), I stopped it at about 10 inches off the ground. This doesn't seem to effect performance in pos hold though. The LidarLite is hooked up on the PWM interface...

        Lidar off - Actually drifts a couple feet up over nearly a minute.

        Lidar on 2 - Less alt discrepancy this time. This log highlights that vertical station keeping just doesn't feel as solid as alt hold or pos hold. These flights were all in the evening, dead calm weather.

        And while I've got your ear, I noticed that changing the mode switch (ch5) while Brake is on disables Brake mode. Is this the way it was intended? My idea for break is to use it as a panic button. Swap out a switch on my Taranis for a pushbutton, and now new pilots can hit it if they panic while flying. However, if they flail enough to hit the Ch 5 switch in their panic, down we go. Seems to defeat a major purpose of this to me.

        2015-05-19 20-53-20-lidar-alt_off.bin
        Shared with Dropbox
  • Hi, been flying Tarot 650, 15inch props, 470kv motors, Pixhawk with AC v. 3.2.1 without a problem, PID gains from v. 3.2.1 autotune. With version 3.3 RC4 it is rather unstable, motors pulsing in Alt Hold and Loiter and the quad is not able to maintain altitude properly as before. Log is attached.

    2015-05-18 22-08-29.log

    • Developer

      Hi Arni,

      I have been talking to Paul about this and you have set EKF_GPS_TYPE to 1. That means you arn't using the GPS velocity in your alt hold estimate. This isn't helping things.

      Paul suggested if you have non standard parameters you should probably do a full parameter reset and start again from scratch.

      There are some other parameters that have changed too now I think about it. The alt hold pid names are now different. Have you changed them from default, if so they are not back to default.

      So set EKF_GPS_TYPE to 0 and check to make sure your alt hold parameters haven't changed.

      • Hi Leonard

        The flight today ended in crash. EKF_GPS_TYPE set to 0 but cannot see much improvement in altitude control. Like the other day it was light wind with some gusts. One gust of wind maybe 5-6m/s and the controller did not manage to keep it stable and down it went. It flies well in stabilize though despite the wind. I guess the autotune parameters from version 3.2.1 are not good for 3.3RC4.

        -Arni

        2015-05-22 21-47-05.bin

        https://storage.ning.com/topology/rest/1.0/file/get/3702699789?profile=original
        • Developer

          Hi Arni,

          Yeh, there are a number of changes that mean some people may need to retune.

      • Hi Leonard

        EKF_GPS_TYPE in the MP full parameter list page is set to 0. But the log shows 1. I guess this must be a bug. Before I installed RC4, I installed the ArduPlane firmware in attempt to get rid of any old parameters.

        • You can do a full parameter reset if you go into the Advanced Parameters list and click on Reset to Default.

          I don't know if that will yield different results from what you did but it might be worth a try.  You will have to redo all of your calibrations again with this procedure.

          -Mike

      • Thanks guys,

        I will test again with new settings and report back.

    • Developer

      Hi Arni,

      There seems to be a lot more noise on IMU 2 compared to IMU 1 in the z axis. Funny thing is it is the opposite way around with gyro noise..... Strange.

      There also doesn't appear to be any innovations of the vertical gps velocity and the position estimate in the vertical seems a little large.

      I am sorry but I can't see any obvious problems. I will have to wait and see if Paul sees something.

  • Is the DCM Bad Heading warning I keep getting in 3.2 fixed in 3.3 or better? Was / is this a code related issue? I've searched the forum and it seems it wasn't all just set up or calibration issues. 

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
Saturday
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
More…