Git Product home page Git Product logo

kernelbasedmap's Introduction

This repository contains Python code for the paper "Autonomous Navigation in Unknown Environments with Sparse Kernel-based Occupancy Mapping"

SCOPE

For simplicity, the code is for a 10x10 simulated environment instead of the ROS environment used in the paper. However, the main algorithms are the same.

DEPENDENCIES

The code depends on the following software and packages: python3.x, numpy, matplotlib, queue, rtree

COMMAND TO RUN THE CODE

python main.py

FILES

Important code

  1. main.py: code for autonomous mapping and navigation algorithm
  2. perceptron.py: code related to main contributions: Fastron and collision checking algorithms.
  3. robot.py: code for collecting observations and retraining kernel perceptron

Others

  1. env.py: code to generate a simulated environment
  2. kernels.py: code for multiple kernel functions.
  3. astar.py: code for A*
  4. viz.py: code for visualization

VISUALIZATION EXPLAINED

  1. Start cell: top left corner.
  2. Goal cell: bottom right corner.
  3. Green triangle: robot.
  4. Blue boundary: decision boundary by Fastron score.
  5. Magenta dashed boundary: inflated boundary by the upper bound.
  6. Blue arrows: A* path.
  7. Yellow arrows: traveled path.

TEST

The code has been tested on Ubuntu 16.04 and Python 3.6.

kernelbasedmap's People

Contributors

thaipduong avatar

Watchers

 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.