Developer

ArduCopter-3.2 beta testing

Warning #1: PX4/Pixhawk users upgrading from AC3.1.5 (or earlier) may need to re-do their compass and accelerometer calibration because AC3.2 also uses the backup compass and accels.  Pre-arm checks have been added to ensure this has been done.

Warning #2: on the APM2.x the logs must be downloaded using MAVlink instead of the terminal.

AC3.2-rc14 is now available for BetaTesters through the mission planner’s Beta Firmwares link.  The full release notes can be found in ReleaseNotes.txt and changes from -rc13 can be seen below.

     Feel free to raise issues found during testing on this discussion or in the new support section in the APM Forum.

     It’s a big release with “the onion” restructure and a bunch of new features (including these 57 closed items) so we need to re-test almost everything including all flight modes, all mission commands and all the new features.  Marco and I will be maintaining (and adding to) this testing list.  Issues reported will first be checked by Jonathan, Marco and I and then confirmed bugs/issues will be put on the github issues list (and then hopefully fixed).

     Thanks especially to the beta testers who put their copters at risk testing each release.  Enjoy!

Changes from 3.2-rc13
1) Safety Features:
     a) fail to arm if second gyro calibration fails (can be disabled with ARMING_CHECK)
2) Bug fixes:
    a) DCM-check to require one continuous second of bad heading before triggering LAND
    b) I2C bug that could lead to Pixhawk freezing up if I2C bus is noisy
    c) reset DCM and EKF gyro bias estimates after gyro calibration (DCM heading could drift after takeoff due to sudden change in gyro values)
    d) use primary GPS for LED status (instead of always using first GPS)

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Here's my second question: Has anybody had any experience with changing WPNAV_SPEED and WPNAV_LOIT_SPEED?

    On a  very well behaved second hexacopter today, we changed them from 500 cm/s to 1000 cm/s. When I had the copter execute the MISSION, it lost complete control and I could not recover with LAND or RTL and it didn't seem to respond to the R/C controls. We're going to look at the logs tomorrow, but anybody have an idea why doubling the horizontal speed could confuse the auto-pilot? (The first waypoint was straight up to 50 m after taking off to a 1 m height so I'm not sure why the horizontal speed would have impacted the flying.) 

    Its also possible that something else went wrong and the parameter changes weren't the reason for the behavior. I'll know more tomorrow.

    • I reviewed the log this morning and attempted to pull the waypoints from the Pixhawk, but it appears that the mission got cleared (likely by my code). So I'm wondering if there is an edge condition where engaging AUTO mode with no mission defined causes the copter to go out of control. I attached a few examples of the altitude changes, roll and pitch. 

      Has anybody engaged AUTO mode with no mission defined? I noticed that there is code to handle the mission ending, which either goes into LOITER or LAND mode depending on the condition. But, its possible that this code was never called. (The LAND command in the plot was my attempt at having it come down.)

      auto-with-no-waypoints-zoomed.png

      auto-with-no-waypoints.png

      auto-with-no-waypoints-zoomed-roll-pitch.png

      • Developer

        Rob, I can't see your logs but I do wee the EKF_CHECK failure which has triggered a land.  This most likely means the position estimate went bad which could be be for a number of reasons including bad compass, GPS glitch.

        Re the vehicle not flying level, I'd check the AHRS_TRIM_X and Y values.  Those are set during the accelerometer calibration.

        I guess you're writing your own code for the GCS or for the autopilot?

        By the way, I'm completely overwhelmed with support and development so Rob Lefebvre will be around more from now on to help out.  I think he's often best reached through the APM Forum although it might be possible to reach him in other ways as well.

        • I may have had a race condition that caused the issue.  I tried an experiment where I issued a mission_clear_all and then immediately set the mode to AUTO and got the firmware to go into AUTO. (If I had an empty mission to start with, I could not get it to change to AUTO.)

          I did this experiment in my office with the copter tied down to a 25 lb plate, but it definitely went into full throttle and stayed in AUTO. 

          It'd be great to have the mission definition in the log file as well so the other parameters could be synched with the mission definition.

          auto-with-empty-mission.png

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

            Rob,

            I've created a new discussion here for you, me and Rob Lefebvre so we can follow-up on issues you find during your GCS development.

          • Developer

            Rob,

                If you can reproduce the issue and send a log to Rob Lefebvre that would be great.  The vehicle should either get into AUTO with a valid command or it shouldn't go into AUTO.  It's possible to clear the mission after the vehicle is in AUTO and that should lead to the vehicle attempting to complete the current command it's working on and then it'll switch out of AUTO to Land or Loiter.

            @Alex,

                 I have personally tested (some time back) going into AUTO with no mission defined and it operated as expected (i.e. it doesn't go into AUTO).  Please remember that Rob Ratcliff is testing with a personally developed GCS, this is not like a regular user of Mission Planner or DroidPlanner.  It's a previously untested combination.

        • Randy you have been a tremendous help to all of us and then entire project would be out of luck without your efforts. Frankly I have no idea how in the world you can research and reply to so many issues. You deserve a PAID vacation!

        • Thanks for your support Randy, you've been a great help over the years!  Its been great to see the project flourish!

          I actually told the copter to LAND myself as well with MAVLINK then the pilot with the R/C switched it to RTL. (Switching to stabilize would've probably been the best bet in retrospect.)

          I'll check out the AHRS_TRIM values and compare those to values when the copter was able to hover in stabilize mode.

      • This reply was deleted.
        • Developer

          No, that issue is fixed with the introduction of the AP_Mission library which went out with AC3.2.  It will not enter auto mode if there's no mission defined and it handles other situations better as well including clearing the mission while it's running, etc.

          • Randy, I opened 2 days ago a support (http://diydrones.com/forum/topics/my-first-big-flight-away) about my flyaway. The fact is that I created a mission from droidplanner, sent it to the quad, waiting for gps lock (7 satelites), starting in stabilize and loose the quad as soon as engaged auto. It went 90° left, engaged LAND 4/5 seconds after seeing it going wrong and I wasn´t able to get it back. Found it 1 km away thank to telemetry.

            Could it be a problem between APM and droidplanner ? I am using all the time beta version - this time 3.2 - and lastest version of droidplanner. 

            The fact is that one day before, I get (maybe) same problem with other quad (v3.2 450 frame), trying drony mission with droidplanner and the quad went 180° away from waypoint - by chance stopped by a tree.

            2 crashes in 2 days with 2 quads ? 

            thank you for your advice

This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…