Detects stairs using point cloud data - Kmeans Clustering and Quadratic Planar Fitting. Flat surface detected based on gradient. Examples of point clouds of perception “edge cases.” The point cloud is collected with downward facing cameras on the quadruped robot looking at some terrain. The task is to present some proof of concept solutions for terrain understanding that can interpret the grated surfaces as “flat” steppable regions, and interpret the grass as not being a steppable surface (since the toes will sink past the top surface).
terrain.mp4
Terrain_Understanding_Nalin.pdf
- Python3
- matplotlib
- numpy
- richdem
- scikit_learn
- scipy
- Clone this repo.
- Navigate into the folder
terrain-understanding
- Create and activate Virtual Environment
- Install requirements.txt using command
pip install -r requirements.txt
- To run the code, from the terminal, run the command
python3 main.py
- You should see plots similar to the given examples above.
- Voila! Green is steppable, red is not steppable.