I have used Intel ISL's Open3D library for pointcloud read/write and robot path planning visualisation. To install Open3D, run:
pip install open3d
This should install smoothly, but if there are any errors refer here or here
Install numpy if you dont have it installed already:
pip install numpy
git clone https://github.com/ShreyanshDarshan/Vecros_assignment.git
To run question 1, run the commands:
cd Vecros_assignment/Q1
python sim.py
To run question 2, run the commmands:
cd Vecros_assignment/Q2
python segment_plane.py
Black obstacles are outside drone's field of view
Red obstacles are the ones drone has seen already
Green Plane is the Largest Plane
Red points are the points not lying on the largest plane
Surface area gets printed on the terminal when you run the program