This repository contains Python code for the paper "Autonomous Navigation in Unknown Environments with Sparse Kernel-based Occupancy Mapping"
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.
The code depends on the following software and packages: python3.x, numpy, matplotlib, queue, rtree
python main.py
- main.py: code for autonomous mapping and navigation algorithm
- perceptron.py: code related to main contributions: Fastron and collision checking algorithms.
- robot.py: code for collecting observations and retraining kernel perceptron
- env.py: code to generate a simulated environment
- kernels.py: code for multiple kernel functions.
- astar.py: code for A*
- viz.py: code for visualization
- Start cell: top left corner.
- Goal cell: bottom right corner.
- Green triangle: robot.
- Blue boundary: decision boundary by Fastron score.
- Magenta dashed boundary: inflated boundary by the upper bound.
- Blue arrows: A* path.
- Yellow arrows: traveled path.
The code has been tested on Ubuntu 16.04 and Python 3.6.