Giter Club home page Giter Club logo

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

Error-State-Extended-Kalman-Filter

Vehicle State Estimation using Error-State Extended Kalman Filter

In this project, I implemented the Error-State Extended Kalman Filter (ES-EKF) to localize a vehicle using data from the CARLA simulator.

  • The data set contains measurements from a sensor array on a moving self-driving car.

  • The sensor array consists of an IMU, a GNSS receiver, and a LiDAR, all of which provide measurements of varying reliability and at different rates.

  • Our goal is to implement a state estimator that fuses the available sensor measurements to provide a reasonable estimate of the vehicle's pose and velocity. Specifically, we will be implementing the Error-State Extended Kalman Filter.

  • In the main filter loop, you will first update the state and the uncertainty using IMU readings.

  • Whenever a GNSS or LiDAR measurement becomes available, you will execute the appropriate common gain computation, error state, and covariance updates.

  • We will have access to the actual pose and velocity values from Carla for a large section of the trajectory. So you will be able to compare your trajectory estimates to the ground truth data.

Solution Approach

Screenshot_3

Screenshot_1

Screenshot_2

Screenshot_4

Screenshot_5

Screenshot_6

Screenshot_7

Screenshot_8

Screenshot_9

Screenshot_10

Running

  • To run es_ekf.py, simply call python es_ekf.py from the command line or 'run es_ekf.py' from within an interactive shell.

  • As the code runs, some visualizations (plots) will already appear for you, including a plot of the ground truth trajectory, a plot of the ground truth trajectory compared to your estimated trajectory, and six error plots.

Final Notes:

  • This is a module assignment project from State Estimation and Localization course of Self-Driving Cars Specialization by University of Toronto.

  • All of the data from Carla Simulator contained as the Python pickle (pkl) file inside the Data folder

  • The data folder contains the data you will use for the project, and the rotations.py file contains a Quaternion class

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.