--
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.
David,
Thanks for the report. Ok, so indeed you’ve stumbled onto a change in behaviour vs AC3.2.1 related to how we handle the ahrs home vs EKF origin.
In AC3.3 we’re not resetting the home altitude on arming if we arm before we get GPS lock (or more accurately before the EKF sets its origin). We also never reset the barometer altitude anymore. It’s possible to make it act like AC3.2.1 again by recording a take-off altitude but it makes the code a little more complex so I was hoping to avoid this until AC3.4 which should include some big-ish changes to allow copter to use absolute altitudes and terrain altitudes.
I know that Jonathan is also not happy that we’re not recording the take-off alt.. if enough people dislike this change we could fix it… I’m just worried about making a change that could lead to more bugs at this late stage.
-Randy
--
David,
It only resets the home alt if it’s gotten a GPS lock first. So take-off early and it won’t reset the alt.
I see what you’re saying.. so we will have another look at making it behave like AC3.2.1. Here’s the issue raised for it in github:
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of David Pawlak
Sent: 22-May-15 8:07 PM
To: drones-...@googlegroups.com
Subject: [drones-discuss] Re: Change in reset to altitude on ARMing?
Ahh, great, then I'm not going crazy :p
When you say:
--
I think we’ve covered this and we intend to fix it in –rc6. It’s not a bug so much as a choice made for code simplicity.
-Randy
Ah, sorry. The problem is me answering old emails! As you were!
-Randy
From: Randy Mackay [mailto:rmac...@yahoo.com]
Sent: 30-May-15 3:25 PM
To: 'drones-...@googlegroups.com'
Subject: RE: [drones-discuss] Change in reset to altitude on ARMing?
I think we’ve covered this and we intend to fix it in –rc6. It’s not a bug so much as a choice made for code simplicity.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of Craig Elder
Sent: 22-May-15 3:53 AM
To: drones-discuss
Subject: Re: [drones-discuss] Change in reset to altitude on ARMing?
David, please enable logging before arming and post a logfile showing the behaviour you observe. thanks
Was testing poshold against loiter in 3.3rc5 and got the following graph of altitude. Got the 3D lock (1.56 HDOP) , but didn't reset power after letting it warm up.
No altitude reset. I guess if you're looking at the problem, so this is just more information to digest.
Took off at 12 meteres and landed at 14.
I guess it shows that the small drop at takeoff is ground effect... and not zero reset. It just looks like zero reset when it's "closer to the ground". (When you refered to that earlier Tom, I thought you meant something else..... :p )
Also shows the effect of the pressure bubble with velocity. Don't remember this as being so pronounced in my IRIS as this before. It's not comfortable.
David,
Ok, so the issue here is that the CTUN log shows the inertial nav altitude which is relative to the EKF origin (not the home alt). It means that we don’t actually log the alt-above home anymore and we should because it’s needed for some things like the altitude fence, parachute’s min alt, etc. Also I’ll rename the CTUN’s Alt to be EkfAlt and add a new Alt column.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of David Pawlak
Sent: 1-Jun-15 5:34 AM
To: drones-...@googlegroups.com
--
David,
I think the HUD only shows the EKF alt (aka altitude above EKF origin) until you get GPS lock (or more accurately until the EKF origin is set). Once GPSLock/EKFOrigin is ok that HUD will show the Alt above home which is reset on each arming.
-Randy
From: drones-...@googlegroups.com [mailto:drones-...@googlegroups.com] On Behalf Of David Pawlak
Sent: 1-Jun-15 7:19 PM
To: drones-...@googlegroups.com
Subject: [drones-discuss] Re: Change in reset to altitude on ARMing?
Great!.
--