Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nandini-menon/point-cloud-generation


https://github.com/nandini-menon/point-cloud-generation

arduino-uno numpy pcd point-cloud pyserial python-3-5 sensor serial-communication servo-motor vtk

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

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

* [Arduino IDE] (https://www.arduino.cc/en/Guide/Linux) - Instruction to install arduino ide in linux
Installing python and pip
### 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```