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

        • Developer

          Dennis,

          I'm not able to open the log in Mission Planner or APPlanner2.  I think there may be an issue with the log file.  Perhaps clear the logs completely and do the test again or maybe take out the SD card from pixhawk and plug it into your PC and copy the file directly to your machine instead of downloading over mavlink (which can be very slow).

    • T3

      Dennis,

      For sure it depends on your location, but 10min and even 3min sound too high. In Germany it is always < 1min with an M8N - no matter is AC3.2.1 or AC3.3. So maybe something is wrong with your module?!

      • T3

        ...outside...

    • Developer

      Dennis,

      Thanks for the report.  Any idea which settings are being changed that cause the slower lock time?  Would it be possible to run back-to-back tests with AC3.2.1 and AC3.3 with the Log Bitmask set to "Log while disarmed" so we can see the difference?

      Sorry to be annoying but we have seen this type of report with releases in the past and often it's comes down to environmental factors that happened at the time of the firmware upgrade.  Still, that may not be the case this time so if you have some more info that would help.

      By the way, AC3.3 allows controlling some settings of the GPS using these parameters:

      • SBAS_MODE : allow enabling/disabling SBAS
      • MIN_ELEV : minimum elevation of satellites above the horizon
      • i ran 3.3rc7 for 20 flights or so and also with an M8N and didnt experience any of the issues that Dennis is seeing....I actually ran with two GPS, M8N as primary and 6H as secondary

  • Hi,

    may have found an anomaly using RC 7 in GUIDED mode:

    When radio is off, everything works okay.

    When radio is on (flight mode switch set to GUIDED also) motors start spinning fast when arming through mavros. My RC has throttle to medium as default, so tried pushing throttle to zero. This actually made motors spin even faster. Logs show RCin as steadily climbing when RC is on, and as zero when RC is off.

    Weird.

    • Developer

      Heddn,

      If you have dataflash logs that'd be great.  The pilot's inputs should be completely ignored in Guided mode with the exception of the yaw input so it does sound very strange indeed.

      • One of the logs got very big, so I put them on onedrive: http://1drv.ms/1IjN5BT

        15-07-19_22-53-52.bin : RC off, everything ok

        15-07-19_22-20-16.bin: RC on, bananas mode.

        Also I got a lot of "EKF variance too high" prior to testing, so turned this feature off. Might not be related. (And this was indoor with poor GPS performance, so that might explain that error).

        Also, APM plannner v2 won't show logs due to them not having "US time", but displays fine in Mission Planner.

  • I tried to build 3.3 for flymaple but I got a compiler error.

    HAL_CPU_CLASS for this board is HAL_CPU_CLASS_75, but a condition for using NavEKF (in AP_AHRS_NavEKF.h) is:

    #if HAL_CPU_CLASS >= HAL_CPU_CLASS_150

    The rest of the code assumes that EKF is in use and doesn't have any way of handling if it isn't.  Is the 75MHz CPU on the flymaple (STM32f103RE) capable of running the EKF?  

    • Running at half the clock rate and no FPU puts it an significant performance disadvantage.  I don't know if that is too slow, that's a questions for the devs.  Maybe there is an easy way to test.  Force a compile and then be able to monitor late loop executions.

This reply was deleted.

Activity