Skip to content

rnagrik/Visual-Inertial-SLAM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visual-Inertial SLAM

In this project, we implement VI-SLAM (Visual-Inertial SLAM) using IMU and stereo camera data. An EKF (Extended Kalman Filter) is formulated with prediction using IMU data and SE(3) motion dynamics and correction using landmark observations from stereo camera. Landmark map and vehicle trajectory are estimated jointly.

Figure 1: Landmark Map being generated from Visual-Inertial SLAM.

Environment Setup and Package Installation

To set up the required environment and install the necessary packages, execute the following commands:

conda create -n <ENV_NAME> python=3.8
conda activate <ENV_NAME>
pip install -r requirements.txt

Folder Structure

The project is organized as follows:

├── data
│   ├── 03.npz
│   └── 10.npz
├── EKF.py
├── VI_SLAM.py
├── utils.py
└── main.py

Visual-Inertial SLAM

Execute the following command to run the main program,

python3 main.py --dataset 10

Additional arguments:

  • --dataset : two datasets 03 and 10 are available.
  • --downsample : camera features downsampling factor (default:5)

Note: After running the script, 3 pop-up windows will sequentially in the order

  • Trajecrory plot based on IMU localization (EKF prediction)
  • Landmark mapping, prior and after EKF update
  • VI-SLAM based trajectory and landmark mapping

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages