Code Monkey home page Code Monkey logo

eecs568_final's Introduction

InEKF Localization and Semantic Mapping on the KITTI Dataset

This is our final project git repository for EECS 568: Mobile Robotics: Methods and Algorithms. Our project is InEKF Localization and Semantic Mapping on the KITTI Dataset.

You can see our final presentation video of our program localizing and building a map with KITTI here.

You can find our final report here.

These instructions will get you a copy of the project up and running on your local machine.

Left-InEKF Localization

Click for full video

Prerequisites

  • MATLAB

Since our code is written in MATLAB, you can run our program on any OS platform.

Running Localization Program

First, you need to generate a trajectory with our Left-invariant EKF. To do so, edit line 5 of InEKF_Main.m to feed it the input dataset folder name. For example, for the dataset 0009, the line of code should look like:

filename = '2011_09_26_drive_0079_sync';

After that, simply run InEKF_Main.m and it will save the poses in SE3 as 12 by 1 vectors in a .txt file. The name of the file will be that of the dataset appended by "poses.txt". For instance, the poses generated by the dataset in folder 2011_09_26_drive_0079_sync will be named 2011_09_26_drive_0079_sync_poses.txt.

Semantic Mapping with LiDAR Points

For test, we are using gtFine_trainvaltest.zip (241MB) [md5] as labels, and using leftImg8bit_trainvaltest.zip (11GB) [md5] as raw input images for training. To further train or test the unet these files should be downloaded from the CityScapes dataset and placed in unet/training/

When validating our training outcome, we are using the images of val subfolder of the corresponding datasets.

To test our code, we are now using deducted train, label and val sets.

Dependencies

  • Python 3
  • Anaconda
  • Cuda, CUDNN
  • OpenCV
  • CMake
  • Eigen
  • Octomap: version 1.9.5, devel branch

OctoMap Usage

mkdir build
cd build
cmake ..
make
./mapping

Files in data

  • *.bin: KITTI LiDAR data.
  • *_pose.txt: ground truth poses of KITTI odometry sequence.
  • calib_cam_to_cam.txt, calib_imu_to_velo.txt, and calib_velo_to_cam.txt: calibration transformation matrix
  • *mapping.ot: test LiDAR mapping.

*.ot files are for visualization with Octovis.

Datasets Used

  • KITTI Vision Benchmark Suite
  • CityScapes Semantic Understanding of Urban Street Scenes

Licenses:

We used the Octomap library, and their licenses are:

Authors

Acknowledgments

Thank you to our instructor Maani Ghaffari for making this possible.

eecs568_final's People

Contributors

boomsky0416 avatar jpc4kp avatar mutichung avatar tonypan2000 avatar whx1022 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.