AC3.2-rc9 is now available through the Mission Planner’s Beta Firmwares link. It’s just like –rc8 but it has an important parameter bug fix Tridge just found which is shown in red below. The bug has apparently been there for a long time but now that we’ve found it, best to get it out there.
Changes from 3.2-rc7
1) EKF reduced ripple to resolve copter motor pulsing (only affects people who have set AHRS_EKF_USE to “1”)
2) Default Param changes:
a) AltHold Rate P reduced from 6 to 5
b) AltHold Accel P reduced from 0.75 to 0.5, I from 1.5 to 1.0
c) EKF check threshold increased from 0.6 to 0.8 to reduce false positives
3) sensor health flags sent to GCS only after initialisation to remove false alerts
4) suppress bad terrain data alerts
5) PX4 dataflash RAM useage reduced to 8k so it works again
6) FRAM bug fix that could stop Mission or Parameter changes from being saved (Pixhawk, VRBrain only)
-Randy
From: Randy Mackay [mailto:rmac...@yahoo.com]
Sent: September 11, 2014 6:44 PM
To: drones-...@googlegroups.com; arducopt...@googlegroups.com
Subject: AC3.2-rc8 available through Mission Planner's beta firmwares link
AC3.2-rc8 is now available through the Mission Planner’s Beta Firmwares link. The few changes are in the ReleaseNotes.txt but also copied below.
https://github.com/diydrones/ardupilot/blob/master/ArduCopter/ReleaseNotes.txt
Changes from 3.2-rc7
1) EKF reduced ripple to resolve copter motor pulsing (only affects people who have set AHRS_EKF_USE to “1”)
2) Default Param changes:
a) AltHold Rate P reduced from 6 to 5
b) AltHold Accel P reduced from 0.75 to 0.5, I from 1.5 to 1.0
c) EKF check threshold increased from 0.6 to 0.8 to reduce false positives
3) sensor health flags sent to GCS only after initialisation to remove false alerts
4) suppress bad terrain data alerts
5) PX4 dataflash RAM useage reduced to 8k so it works again
The lower AltHold gains may reduce the motor pulsing some APM2 users are seeing but if not we may need to add additional filtering.
I have not included the fix to enable reset-yaw-to-armed-heading because although I have a patch, it needs some more dev testing.
https://github.com/rmackay9/rmackay9-ardupilot/commit/fbf069838856a0d1b92ef6055eb6d6d183b4765c
-Randy
--
You received this message because you are subscribed to the Google Groups "ArduCopter Testers Team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arducoptertest...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
You received this message because you are subscribed to the Google Groups "ArduCopter Testers Team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arducoptertest...@googlegroups.com.
David,
No there’s no parameter but we think it’s possible to disable by modifying a startup file on the SD card. As long as the external compass is working the internal one will never be used. The external one could fail but as long as arming checks are enabled you’ll know before take-off. All this means you only need to worry about the possibility of an inflight failure and it’s hard to know which is worse, no compass at all or use the internal… perhaps no compass would be better because the heading will probably remain good for 30seconds or more even without a compass.
-Randy
--
You received this message because you are subscribed to the Google Groups "ArduCopter Testers Team" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arducoptertest...@googlegroups.com.
David,
I’ve never seen that message. Where are you seeing it? If you have a log file that would be good.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of David Pawlak
Sent: September 12, 2014 9:04 PM
To: drones-...@googlegroups.com
Cc: arducopt...@googlegroups.com
--
I’ve gotten it too in –rc6 or 7 and just ignored it as I figured it was a byproduct of the init routines. It only ever occurred at the beginning when I plugged the batt in and connected, but after that I never heard it again.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
Just to clarify, is the condition you, Paul and Marco are referring to only when switching to Stab from Acro after hard maneuvers, or can you expose this condition when flying only in ACRO with no switch to another mode?
Ah ok, thanks for the clarification. That is what I expected but wanted to verify.
Most of the rate/ACRO testing I’ve been doing are flights flown 100% in Acro so that must be why I’m never seeing this issue.. that I know of. If you’re bored, here’s the latest log; if you decide to look, I’d be curious to know if you see that condition. This is with EKF off yet.
--
Ha, thanks Paul! With Rob flying TradHeli he’ll be able to do more G’s than me, but…
Challenge Accepted.
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Paul Riseborough
Sent: Saturday, September 13, 2014 2:05 PM
To: drones-...@googlegroups.com
Subject: Re: [drones-discuss] Re: AC3.2-rc9 available through Mission Planner's beta firmwares link
Josh,
--
There was an issue in –rc7 (and earlier) where the “extended status” was being reported before the copter had fully initialised. I’ve fixed that in –rc9.
I’ve also noticed that the gyros & accel can be bad immediately after a firmware update. It seems more important with AC3.2 that after a firmware upgrade the board is power cycled.
-Randy
I had never thought about it before but I guess, like the compass, we should add scaling to the gyros in addition to the existing offsets. The problem is that we can’t easily ask the user to spin the board at a precise speed to be able to collect the points in order to calculate the scaling, instead we can only rely on in-flight learning.
I guess if every user had all the money in the world we could develop a device that rotates the pixhawk in 3 dimensions at know speeds and then capture the required points so we can do the scaling. It would be a fun device to make although I can’t see it happening any time soon!
-Randy
Marco,
Thanks as always for the detailed testing.
Re your list, the throttle pulsing when using EKF should be gone with –rc9 because Paul’s EKF smoothing has been included.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Marco Robustini
Sent: September 14, 2014 3:02 PM
To: drones-...@googlegroups.com
Cc: arducopt...@googlegroups.com
--
--
Paul,
The PM message will tell us to some extent. It will say how many loops are slow and how long the slowest took. It doesn’t say though if it caught up on the next cycle (after a slow one) or if it skipped a cycle.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Paul Riseborough
Sent: September 14, 2014 4:09 PM
To: drones-...@googlegroups.com
Cc: arducopt...@googlegroups.com
Subject: [Bulk] [drones-discuss] Re: AC3.2-rc9 available through Mission Planner's beta firmwares link
Marco,
Watched the video - felt dizzy looking at it. This is likely the same effect that Rob has run into with his pirouettes which i believe is caused by scale factor errors on our gyros. I might be able to reduce this effect on the EKF by tuning and changing the way compass measurements are weighted when angular rates are high, but if it is caused by scale factor errors, then the solution is to either calibrate or estimate those errors.
Randy,
How can i tell looking at the logs if the code is skipping any 400Hz frames ? That would introduce the equivalent to a scale factor error.
Regards,
Paul
On Sunday, 14 September 2014 15:59:10 UTC+10, Marco Robustini wrote:
The other big unsolved problem is the discrepancy that exists in the compass after yawing faster the quad with Simple mode, i need your feedback about this issue, please try this:
- engage Simple and check the direction of the virtual nose
- start to rotate faster the quad with yaw for one minute like in my video: https://www.youtube.com/watch?feature=player_detailpage&v=SdRZuQiS7G4&list=UUPcCCiqkWYZmvxVgHhDZDHA#t=323
- disengage Simple and check again the virtual nose
After this test i've a big error, over 45° of compass drift, and in this situation any operation that requires the compass obviously fails.
Other important issue are reported in my test list here: https://docs.google.com/spreadsheets/d/1yrYKJ-Txf5DBbEI7x4sk1p0Gts-5gjXCoiIdAyfnL7M/
Marco
We don’t have any error messages stored to the dataflash when sensors (or the AHRS) go bad. Issue raised.
https://github.com/diydrones/ardupilot/issues/1387
-Randy
You can check the inertial nav alt vs the baro alt. If they’re off by more than 50cm then it’ll trigger that error.
Like all the other checks it was implemented after a real support issue. If you want to check your logs and figure out a level that would work better that’d be great.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Robert Lefebvre
Sent: September 15, 2014 8:45 AM
To: drones-discuss
Is it possible this is bubbling up only inside of Mission Planner?
Yes, the sensor health is sent to the GCS using the system status message. We don’t log the sensor health to dataflash though. So basically this info will appear on the HUD and in the tlogs but not in the dataflash logs.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Josh Welsh
Sent: September 15, 2014 1:41 PM
To: drones-...@googlegroups.com
Subject: RE: [drones-discuss] Re: AC3.2-rc9 available through Mission Planner's beta firmwares link
Is it possible this is bubbling up only inside of Mission Planner?
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com]
Sent: Sunday, September 14, 2014 6:53 PM
To: drones-...@googlegroups.com
Subject: RE: [drones-discuss] Re: AC3.2-rc9 available through Mission Planner's beta firmwares link
We don’t have any error messages stored to the dataflash when sensors (or the AHRS) go bad. Issue raised.
https://github.com/diydrones/ardupilot/issues/1387
-Randy
--
--
David,
No there’s no parameter but we think it’s possible to disable by modifying a startup file on the SD card. As long as the external compass is working the internal one will never be used. The external one could fail but as long as arming checks are enabled you’ll know before take-off. All this means you only need to worry about the possibility of an inflight failure and it’s hard to know which is worse, no compass at all or use the internal… perhaps no compass would be better because the heading will probably remain good for 30seconds or more even without a compass.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of David Pawlak
Sent: September 12, 2014 7:21 AM
To: drones-...@googlegroups.com
Cc: arducopt...@googlegroups.com
Subject: [Bulk] Re: [drones-discuss] Re: AC3.2-rc9 available through Mission Planner's beta firmwares link
Wasn't there a parameter to ignore internal compass?? Maybe we just talked about it.So much has gone on, it's hard to remember.
On Thursday, September 11, 2014 3:45:06 PM UTC-3, robert.lefebvre wrote:That's the message I get with rc7. I believe it is due to the fact the internal compass calibration is hopeless with offsets >5000. This due to the fact it is 1cm from the motor on my heli. Nothing I can do about that. And apparently at this time there is nothing that can be done to simply completely ignore the internal compass. The only thing I can do is turn off Pre-Arm checks for compass. However, I don't like that that leaves me vulnerable to other compass problems.
How bad are the offsets on your internal compass?
On 11 September 2014 14:17, Xerr Avon <xerr...@gmail.com> wrote:
Hi,
I just upgraded a octaquad from RC4 to RC9, I got the compass not calibrated so I did the write eeprom trick (which worked fine on a quad and hexa as far as I know) but on the octaquad I am now getting a bit different message, it is "PreArm: compass inconsistent" I tried writing and rewriting both compass ID's but still getting the message. I will try a recalibrate compasses later..
John.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
How about a flag like this:
NEVER_EVER_NEVER_EVER_USE_INTERNAL_COMPASS_EVER = 1
I’ve found that in master (and AC3.2) Whether it’s on purpose or not, the fail-over to the internal compass wasn’t working because of a bug (?) in the Compass::use_for_yaw() method. It was always checking the health of the external compass instead of the primary compass. This meant that if the primary failed over to the internal compass it wouldn’t automatically switch to it.
https://github.com/rmackay9/rmackay9-ardupilot/commit/5c756f701b82b503733ba9493dd2e9f1a95be3b5
It’s possible this is intentional (although I doubt it) so I’ll double check with Tridge before checking in the fix.
-Randy
I guess enough people have complained about this that we need to loosen the pre-arm check. So I’ve increased the acceptable range from 1m to 2m. This is in master and AC3.2.
https://github.com/diydrones/ardupilot/commit/d8d1b38a52fc3297b7b3378327d9995c88bdfe79
It shouldn’t help to unplug/plug-in in the board. It’s best just to wait a bit (like 10 seconds) and the inav altitude will catch-up with the baro alt.
To make it easier to log from start-up, I’ve added a #define LOG_FROM_STARTUP to APM_Config.h. Just uncomment that line and it’ll start logging immediately after initialisation. Longer-term we should make this a parameter but we’ve run out of bits in both the LOG_BITMASK and the ARMING_CHECK. This will go into master but not AC3.2.
https://github.com/diydrones/ardupilot/commit/9bbf40109e3058f58cf26b61ec4312d20f4fd982
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Gary McCray
Sent: 20-Sep-14 10:06 AM
To: drones-...@googlegroups.com
Cc: arducopt...@googlegroups.com
James,
Thanks for helping out with the testing. I can’t do much with the logs I’m afraid because, as you said, they’re downloaded with AC3.1.5 so the logging headers are all off. You can download via mavlink with AC3.2. It’s actually mentioned as Warning #3 at the top of the AC3.2 beta testing thread. http://diydrones.com/forum/topics/arducopter-3-2-beta-testing
Re the loiter, I strongly suspect that the compass wasn’t set-up quite right or perhaps there’s a lot of interference from the motors. The most common issue these days is the compass-orientation or compass-external parameters being set incorrectly and so far I’m suspecting people occasionally forget to select the correct checkbox on the MP’s compass set-up page but please tell me if you think this can’t possibly be the cause. By the way, the Pixhawk supports multiple compasses and in AC3.2 we’ve taken advantage of this by including a suite of new pre-arm checks that makes setting up the compass incorrectly (and then flying) almost impossible.
Thanks again, hopefully the next flight goes ok.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of James Collings
Sent: 19-Sep-14 1:20 AM
To: drones-...@googlegroups.com
Cc: arducopt...@googlegroups.com
--
Yes, I agree with Rob.
I’ve recently increased the Alt Disparity to 2m and that change will go out with –rc10 shortly.
John,
If the baro alt and inertial nav alt are never within 1m to allow passing the check then there could be an actual problem. It seems very strange to me that the inertial nav and baro alt do not come together even after 10min. I’d very much like to see a dataflash log file.
I think you’re able to compile the code yourself right? Could you load master onto your copter but uncomment line 44 of the APM_Config.h file (see below) so it produces logs immediately after initialisation?
#define LOG_FROM_STARTUP // start logging as soon as the board starts up instead of waiting for the vehicle to be armed
-Randy
Thorsten,
Yes indeed. When we switch over to the shared AP_Arming library that will come for free.
-Randy
Just to confirm, is it permitted to just ignore the "bad ahrs" warning on the HUD?
We should probably suppress the warning for a while so we don’t generate lots of support calls. I’ve done this already with some of the other warnings that were appearing.
Paul,
Would a set time-limit (like 20 seconds) before we start checking the ahrs health be a good method or is there some other indicator we could use?
-Randy
--