Skip to content

Stereo Camera assisted Localization in Mapped Environment

Notifications You must be signed in to change notification settings

vsreyas/Stereo-LIME

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stereo-LIME

Stereo Camera assisted Localization in Mapped Environment

Achieves accurate localization with the help of stereo-camera in a pre-mapped pointcloud environment

Prerequisites

Ceres Solver

Follow Ceres Installation

OpenCV

Install OpenCV

PCL

Install PCL from source.

Pipeline

6

Depth Map Generation

The left and the right image from the stereo camera is used to compute the disparity map. From disparity map, we obtain the depth of a point using the formula:

disparity = x - x' = (B*f)/Z

Here, B is baseline, i.e, distance between the left and right camera & f is the focal length of the camera. Z is the depth of that pixel value.

Example, depth image:

6

Local Map Generation

The local map is generated via pcl::octree::OctreePointCloudSearch, which searches for neighbours within a voxel at a given point which in our case is the initial pose obtained from VINS-Fusion.

1 1

Localization

The final camera pose is obtained by minimizing the depth residual which is the difference between the depth of the map point in local map and the corresponding stereo depth. This non-linear optimization problem is solved by Ceres-Solver.

localize themath

Results

The green line shows the groud_truth path of the ego vehicle and the red line shows path generated from the localization pipeline

result zoomresult

About

Stereo Camera assisted Localization in Mapped Environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 86.9%
  • CMake 13.1%