Skip to content

RaghuTheFire/KalmanFilter-Snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

KalmanFilter-Snippets

Kalman Filter Implementation

This project implements a Kalman Filter to process data from sensors. The Kalman Filter is a powerful tool for estimating the state of a system based on noisy measurements. This implementation demonstrates how to initialize, predict, and update the state estimates using the Kalman Filter.

kalmanfilter

Table of Contents

Overview

The Kalman Filter is implemented in c++ and is designed to handle a state vector of arbitrary dimensions. The filter can be used to process sensor data and provide estimates of the true state of the system.

Requirements

  • gcc compiler with c++11 support
  • Matplotlib

Setup

  1. Clone the repository:

    git clone https://github.com/RaghuTheFire/kalman-filter.git
    cd kalman-filter
  2. Install the required packages:

    pip3 install numpy matplotlib

Usage

  1. Run the kalman_filter.cpp script to see the Kalman Filter in action:

g++ kalman_filter.cpp -std=c++11 -I /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/include/python3.7m -I /usr/local/lib/python3.7/site-packages/numpy/core/include -L /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib -lpython3.7

  1. The script will simulate some sensor data, process it using the Kalman Filter, and display the results.

Output

The output will include plots of the measurements and the Kalman Filter predictions for each component of the state vector.

Kalman Filter Output

Explanation

References

About

My implementations of kalman filter, which is a very powerful tool used in Tracking,Self-driving car and robotics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages