Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nandini-menon/point-cloud-generation
- Owner: nandini-menon
- Created: 2018-11-03T10:08:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-17T19:14:39.000Z (almost 6 years ago)
- Last Synced: 2025-01-19T07:42:23.568Z (16 days ago)
- Topics: arduino-uno, numpy, pcd, point-cloud, pyserial, python-3-5, sensor, serial-communication, servo-motor, vtk
- Language: Python
- Size: 9.28 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
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```