Skip to content

Detects stairs using point cloud data - Kmeans Clustering and Quadratic Planar Fitting. Flat surface detected based on gradient.

License

Notifications You must be signed in to change notification settings

nalindas9/terrain-understanding

Repository files navigation

terrain-understanding

License:MIT

About

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).

Output

terrain.mp4

Method

Terrain_Understanding_Nalin.pdf

System and library requirements.

  • Python3
  • matplotlib
  • numpy
  • richdem
  • scikit_learn
  • scipy

How to Run

  1. Clone this repo.
  2. Navigate into the folder terrain-understanding
  3. Create and activate Virtual Environment
  4. Install requirements.txt using command pip install -r requirements.txt
  5. To run the code, from the terminal, run the command python3 main.py
  6. You should see plots similar to the given examples above.
  7. Voila! Green is steppable, red is not steppable.

About

Detects stairs using point cloud data - Kmeans Clustering and Quadratic Planar Fitting. Flat surface detected based on gradient.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages