• Stars
    star
    572
  • Rank 77,995 (Top 2 %)
  • Language
    C++
  • License
    Apache License 2.0
  • Created over 6 years ago
  • Updated about 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Fusing GPS, IMU and Encoder sensors for accurate state estimation.

ExtendedKalmanFilter

EKF to fuse GPS, IMU and encoder readings to estimate the pose of a ground robot in the navigation frame.

Wikipedia writes: In the extended Kalman filter, the state transition and observation models need not be linear functions of the state but may instead be differentiable functions.

x_k = g(x_k), u_k-1 + w_k-1
z_k = h(x_k) + v_k

EKF step

Where w_k and v_k are the process and observation noises which are both assumed to be zero mean Multivariate Gaussian noises with covariance matrix Q and R respectively.

The function g can be used to compute the predicted state from the previous estimate and similarly the function h can be used to compute the predicted measurement from the predicted state. However, g and h cannot be applied to the covariance directly. Instead a matrix of partial derivatives (the Jacobian matrix) is computed.

At each time step, the Jacobian is evaluated with current predicted states. These matrices can be used in the Kalman filter equations. This process essentially linearizes the non-linear function around the current estimate.

Here we have a velocity sensor (encoders/GPS velocity), which measures the vehicle speed (v) in heading direction (psi), a yaw rate sensor (psi_dot) and an accelerometer which measures longitudinal velocity which both have to fused with the position (x & y) from the GPS sensor.

Ground robot model

References

  1. @balzer82 for his tutorials on Kalman Filters.
  2. Probabilistic Robotics by Thrun, Burgard, and Fox.

More Repositories

1

Monocular-Visual-Inertial-Odometry

This contains the code(in development) for monocular visual odometry of a quadrotor. The visual data from the monocular camera is fused with onboard IMU to develop indoor control and navigation algorithms.
Python
95
star
2

Airfoil-Optimization

This repository contains code development for the 4th credit project for AE416. The aim of the project is to compare different optimization algorithms in the context of airfoil optimization.
Python
21
star
3

motion-planning-playground

Playground for motion planning and controls algorithms.
Python
13
star
4

AerialRobotics-Coursera

My code for the Coursera course by University of Pennsylvania called Aerial Robotics. https://www.coursera.org/learn/robotics-flight/home/welcome
MATLAB
12
star
5

Computation-Motion-Planning

Assignments for the Coursera course by UPenn
MATLAB
8
star
6

CallistoRover

Repository for the software for control and autonomous navigation of UGV.
C++
5
star
7

interviewCake

My solutions to the problems from interviewcake.com
C++
5
star
8

visual_navigation

Code for end to end deep learning based visual navigation for navigating agricultural fields.
Jupyter Notebook
4
star
9

RRTSim

Implementation of the famous RRT algorithm using C++ and qt5.
C++
2
star
10

DeepLearningSpecialization-Coursera

Deep Learning Specialization by Andrew Ng on Coursera
Jupyter Notebook
2
star
11

Camera_calibration

Camera calibration for the webcam.
Python
2
star
12

sensei

Sensei is an open-source Python toolbox for simulating integrated navigation systems and performing analysis to identify, model, and estimate major sources of error in sensor data.
Python
1
star
13

ROS

CMake
1
star
14

Robot-Dynamics-and-Control

Code for the lab work for ME446 along with the final project
C
1
star
15

static_vector

A high-performance, fixed-capacity vector implementation for C++17 with STL-compatible interface and no dynamic memory allocation.
C++
1
star
16

learning_langchain

Jupyter Notebook
1
star
17

sb-voice-dev

Python
1
star
18

ProgrammingPractice

This repository contains my implementations of common algorithms and data structures. It also includes some competitive coding problems solutions.
C
1
star