I have worked with Ardupilot for a long time and I am very impressed with the EKF used there. I did some research and found out it was Paul Riseborough's Inertial Nav EKF. 

I would like to implement this ekf on another personal project separate from APM, and I seem to be getting close, but the whole thing seems pretty complicated. I have cloned the Inertial_Nav github repository and modified one of the test harnesses until I think it seems to be doing what I want, but it seems a lot of the work is still done in the test harness and not in the EKF code itself. I'd like to make it as simple as possible to implement this system.

I am only using GPS and IMU data. (no rangefinder, airspeed, etc)

Does anyone have any tips on how to implement this?  Is there a guide on what each function in the ekf does and how to use them?  It seems to me that the 2 main methods are the UpdateStrapdownEquationsNED() method and the CovariancePrediction() method. Is this correct?  and how do I set everything else up before I call these functions?

Like I said, it seems I have done it with a small degree of success already, but I am highly doubtful that my way of doing it is either correct or at all efficient.

I would be interesting in contributing a few simple additions to this repository to improve the simplicity of implementation for others if I can figure it out myself.

I can provide more details if needed. Thanks for any help!

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

Join diydrones

Email me when people reply –

Replies

  • Sorry, here is the link to the repository:

    InertialNav

    priseborough/InertialNav
    Inertial Navigation Filter. Contribute to priseborough/InertialNav development by creating an account on GitHub.
  • Developer

    I cant claim to be much help, but a link to the cloned repository would be a start, if there is one. Anything that helps to simplify and document the code is a good thing in my opinion. 

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
Jun 25
DIY Robocars via Twitter
Jun 25
DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
More…