Coder Social home page Coder Social logo

error-state-extended-kalman-filter's Introduction

License: MIT

Sensor Fusion using Error State Extended Kalman Filter for Pose-Estimation of Self-Driving-Car

Project Description

In this Project, I have implemented the Error State Extended Kalman Filter (ES-EKF) for multi-sensor fusion (IMU+LIDAR+GNSS) for pose estimation of the self-driving car. The motion model and filter step of the ES-EKF rely on the IMU data to propagate the state forward in time. The GPS and LIDAR data are used for the correction of the estimated state. The estimated trajectory is then compared with the ground truth trajectory generated using the CARLA simulator.

I have also investigated the effect of sensor miscalibration on the pose estimation of the vehicle. For this, I have changed the transformation matrix from LIDAR to the vehicle frame and observed its effect on vehicle pose estimation. To mitigate the sensor calibration, I have tuned the LIDAR noise covariance.

Finally, I have explored the effects of sensor dropout, that is, when all external positioning information (from GPS and LIDAR) is lost for a short period of time to illustrate how the loss of external corrections results in drift in the vehicle position estimate, and also to aid in understanding how the uncertainty in the position estimate changes when sensor measurements are unavailable.

Result

  1. Estimated trajectory and error with uncertainity in all the estimated states

Trajectory Estimation Error in State Estimation

  1. Effect of the LIDAR miscalibration on the estimated pose
  • Pose estimation with LIDAR miscalibration

Trajectory Estimation after miscalibration Error after sensor miscalibration

  • Pose estimation after tuning LIDAR noise covarinace to account for LIDAR miscalibration

Trajectory after calibration Error after correction

  1. Effect of sensors (LIDAR+GNSS) dropout on the pose estimation
  • Effect of sensor dropou on the pose estimation

before_traj before error

  • Pose estimation after tunning LIDAR and GNSS noise to account for sensor dropout

after_traj after error

How to use this project

  1. Store the ground truth, IMU, GPS and LIDAR data in the data folder of the repository in .pkl format

  2. Open the solution.ipynb file and change the file path in the below code:

with open('data/pt1_data.pkl', 'rb') as file:
    data = pickle.load(file)
  1. Run the file to see the output

License

License: MIT

Copyright (c) Jan 2023 Pradip Kathiriya

error-state-extended-kalman-filter's People

Contributors

abhijitmahalle avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.