Skip to content

mohitrajane/Point-Cloud-Generation

 
 

Repository files navigation

Point Cloud Generation

This project uses Arduino and python(3.x) to generate a PCD file from the arduino and visualize it in VTK. This is done in 2 steps

  1. Creating the PCD file by getting data from the Arduino
  2. Visualize the PCD file

Prerequisites

This project uses Python 3.x, pip and Arduino IDE.

Debain based systems

apt install python3 python3-pip

Arch based systems

pacman -S python python-pip

SUSE Linux based systems

zypper install python3 python3-pip

Installing

External packages used in the python program are: Numpy,VTK,PySerial These can be installed manually or by using the included requirments.txt in the root of this project

Debain based systems

pip3 install -r requirements.txt

Arch based systems

pip install -r requirements.txt

SUSE Linux based systems

pip3 install -r requirements.txt

How to run this project?

Arduino code

The arduino code is located in the ./SweepBoth folder. Flash SweepBoth.ino located in that file to the Arduino

Gnerating the PCD

Connect your arduino and then run the following command

python findpoints.py

Visualize the PCD file

Run the following command after the pcd file has been generated

python pointscloud.py points.pcd

Presentation and Report

The report and presentation are created using latex these are located in ./presentation and ./report

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.9%
  • C++ 32.1%