Hi all,
Here is the Position + Att Kalman filter James Goppert did for PX4:
https://github.com/PX4/Firmware/blob/master/src/modules/att_pos_estimator_ekf/KalmanNav.cpp
It does even calculate GPS jamming / error metrics already and updates accordingly, and it would very likely a very solid base to build on.
-Lorenz
On Sep 16, 2013 8:18 PM, "Randy Mackay" <
rmac...@yahoo.com<mailto:
rmac...@yahoo.com>> wrote:
I think because the pixhawks is now out and we're investigating the gps-glitch problem that it's a good time to look into a kalman filter especially for the combination of the gps + accel based position estimate. So if Thomas, or someone else has a somewhat working kalman filter that we could experiment with and perhaps try to replace the existing complementary filter with (on the px4/pixhawks) please ping me.
-Randy
________________________________
From: Brandon Basso <
bra...@3drobotics.com<mailto:
bra...@3drobotics.com>>
To:
drones-...@googlegroups.com<mailto:
drones-...@googlegroups.com>
Sent: Friday, September 6, 2013 2:44 AM
Subject: Re: [drones-discuss] Re: Is there a need for a kalman filter to fusing altitude and position?
Leonard,
Kalman filtering with intermittent/delayed measurements has been solved, and is actually implemented in lots of places from what I understand, so it's not just pie in the sky research. There's the link to the original theory<
http://users.ece.cmu.edu/~brunos/Publications/tacs04.pdf>, though i'm sure there are mroe practical references out there since 2004.
I'm a big fan of the Unscented Kalman Filter<
http://backup.lara.unb.br/~gaborges/disciplinas/efe/papers/wan2000.pdf>, aka Sigma Point Kalman filter. It has been used for small aircraft applications and has some really nice computation and storage features. Definitely check out this paper<
http://www.cse.ogi.edu/~rudmerwe/pubs/pdf/GNC2004_spkf.pdf> where the implementation on trad heli is described in details, it's a great read.
The UKF is mainly an EKF under the hood but does not require the calculation of Jacobians, which is the part that almost certainly can't happen on APM. You instead pick a few test points in your state space and propagate them forward through your (nonlinear) dynamics. More points = more accurate representation of your covariance matrix, so it's a lot like a particle filter in that you have a nice slider between accuracy and computational efficiency.
-Brandon
On Thu, Sep 5, 2013 at 12:05 AM, Ritchie Wilson <
originaln...@gmail.com<mailto:
originaln...@gmail.com>> wrote:
As we don't have the head room on the APM for a kalman filter (as has been discussed many times) you might want to ask James Goppart who is doing the work for ETH with Meier et al on state estimation for the PX4
RegardsRitchie.
On 5 Sep 2013, at 00:00, Leonard Hall <
leonar...@gmail.com<mailto:
leonar...@gmail.com>> wrote:
Heading shouldn't need an estimate but because the AHRS doesn't get it right when there are compass offsets and we get toilet bowling. I am pretty sure that the correct compass offset could be derived from the difference between the accelerometer and the gps position. I was wondering if you had any experience with a similar problem.
As I said before, my understanding of the Kalman filter is pretty thin. I can use them to do simple acceleration, velocity, position type filtering on a single axis however I haven't tried to add an offset. However my major hole in my understanding is how to efficiently include a delay of the measurement into the system. How are you handling that problem here?
Good work,
Leonard
--
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<mailto:
drones-discus...@googlegroups.com>.
To unsubscribe from this group and stop receiving emails from it, send an email to
drones-discus...@googlegroups.com<mailto:
drones-discuss%2Bunsu...@googlegroups.com>.
For more options, visit
https://groups.google.com/groups/opt_out.
--
Brandon Basso, PhD :: Senior Research and Development Engineer :: 3D Robotics :: Berkeley, CA
--
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<mailto:
drones-discuss%2Bunsu...@googlegroups.com>.
To unsubscribe from this group and stop receiving emails from it, send an email to
drones-discus...@googlegroups.com<mailto:
drones-discuss%2Bunsu...@googlegroups.com>.
To unsubscribe from this group and stop receiving emails from it, send an email to
drones-discus...@googlegroups.com<mailto:
drones-discus...@googlegroups.com>.