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

  • Hello, 

    While following the wiki to configure PX4FLOW and Lidar-Lite v2 on AC3.3.1, I am wondering when does the autopilot actually use the PX4FLOW camera. Would anyone mind to let me know if I am right or wrong in the following.

    - Autopilot reads PX4FLOW only in OF_Loiter flight-mode? 

    - Autopilot reads PX4FLOW in all GPS-assisted flight-mode, but does not read it at all in non-GPS flight-mode?

    - Wiki requests EKF_GPS_TYPE = 3 during PX4FLOW test flight. After that I should set it back to EKF_GPS_TYPE = 0 in normal flying?

    - Whenever the flight mode requests X/Y position estimation the autopilot reads both GPS and PX4FLOW. EKF then blends them together for autopilot to use?

    - OF_Loiter is a flight-mode that needs X/Y position estimation but does not read GPS. It only reads PX4FLOW?

    Thanks for clarifying my confusion,

    Wilson

    • I'm also completely confused on whether I can use optical flow sensor without lidar or not.
      Wiki says it does not use sonar readings anymore and I see flat line for EKF5.meaRng.

      Lidar is additional $200...
      • Lidar lite v2 is only 115.00.

        http://www.robotshop.com/en/lidar-lite-2-laser-rangefinder-pulsedli...

        It would be nice to have the option use the installed sonar or lidar, either way OF is really neat feature.
        • I live outside their country, and shipment to my place is unusually high.

          I agree, having such option would be great.

          Tried to calibrate OF, but it seems without lidar flowX/Y and bodyX/Y are poorly correlated, scaling will not make them match (bodyX/Y and GyrX/Y do match).
    • I would say I am right there with you, but you have clearly thought this through more deeply than I have. I am getting ready to mount a px4flow but have not entirely wrap my mind around when OF works and if by using it I loose functionality some where else.

      I am interested in the answers to your questions also!

      Looking forward to an icon in mission planned to enable PX4Flow as a near plug and play option, with a calibration sequence similar to setting the Acc or compass.

      All is good time I am sure.
  • It's normal that I start autotune with

    ATC_ACCEL_P_MAX,72000
    ATC_ACCEL_R_MAX,72000

    and after autotune I have

    ATC_ACCEL_P_MAX,49814,88

    ATC_ACCEL_R_MAX,51907,54

    ATC_ACCEL_Y_MAX,12720,53

    Tnx

    • Yes, these parameters are tuned on autotune routine. How are your copter flying with them?

      • I'm satisfied but just after second autotune The first wasn't good  (autotune>save>autotune>save)

        I have large x8  8 kg 

        • This procedure was recommended a few times. The autotune takes the currrent parameters as the starting point, thus , doing it two times would make the parameters more refined.

          If they are OK, with no wobbles, enjoy it!

  • Hi!

    I tried to use battery_voltage2 and current2, readings get to Pixhawk but scaled wrong?
    I received 15355V, tried to scale it to 15,3V but then I only get 15V. Using a standard power module connected to ADC 3.3V.

    Want to use 2 batteries in parallell and monitor each via separate power modules?

    Great job with the new version....

    //Affe

This reply was deleted.

Activity

Laurie J. Troy liked Jasper Kueppers's profile
Apr 1
Timothy Miller liked Joseph Udofia's profile
Mar 18
Joseph Udofia liked Joseph Udofia's profile
Mar 3
More…