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

DIY Robocars via Twitter
RT @TinkerGen_: "The Tinkergen MARK ($199) is my new favorite starter robocar. It’s got everything — computer vision, deep learning, sensor…
20 hours ago
DIY Robocars via Twitter
20 hours ago
DIY Robocars via Twitter
RT @roboton_io: Join our FREE Sumo Competition 🤖🏆 👉 https://roboton.io/ranking/vsc2020 #sumo #robot #edtech #competition #games4ed https://t.co/WOx…
Nov 16
DIY Drones via Twitter
First impressions of Tinkergen MARK robocar https://ift.tt/36IeZHc
Nov 16
DIY Robocars via Twitter
Our review of the @TinkerGen_ MARK robocar, which is the best on the market right now https://diyrobocars.com/2020/11/15/first-impressions-of-tinkergen-mark-robocar/ https://t.co/ENIlU5SfZ2
Nov 15
DIY Robocars via Twitter
RT @Ingmar_Stapel: I have now explained the OpenBot project in great detail on my blog with 12 articles step by step. I hope you enjoy read…
Nov 15
DIY Robocars via Twitter
RT @DAVGtech: This is a must attend. Click the link, follow link to read the story, sign up. #chaos2020 #digitalconnection #digitalworld ht…
Nov 15
DIY Robocars via Twitter
RT @a1k0n: Got a new chassis for outdoor races (hobbyking Quantum Vandal) but I totally didn't expect that it might cause problems for my g…
Nov 11
DIY Drones via Twitter
First impressions of the Intel OpenBot https://ift.tt/36qkVV4
Nov 10
DIY Robocars via Twitter
Nov 9
DIY Robocars via Twitter
Excellent use of cardboard instead of 3D printing! https://twitter.com/Ingmar_Stapel/status/1324960595318333441
Nov 7
DIY Robocars via Twitter
RT @chr1sa: We've got a record 50 teams competing in this month's @DIYRobocars @donkey_car virtual AI car race. Starting today at 10:00am…
Nov 7
DIY Robocars via Twitter
Nov 6
DIY Robocars via Twitter
RT @a1k0n: Car's view, using a fisheye camera. The ceiling light tracking algorithm gave me some ideas to improve ConeSLAM, and having grou…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: To get ground truth I measured the rug, found the pixel coordinates of its corners, calibrated my phone camera with my standard…
Nov 5
DIY Robocars via Twitter
RT @a1k0n: @DIYRobocars is back in December, but outside. Time to reinvestigate ConeSLAM! I rigged up a quick and dirty ground-truth captur…
Nov 5
More…