Skip to content
Snippets Groups Projects
README.md 1.3 KiB
Newer Older
Mikko Kokkonen's avatar
Mikko Kokkonen committed
# Capstone project for Group6

This repository consists of source code which was written for Capstone project in University of Turku.
Project was to create a autonomous racing car out of an unmodified Traxxas Model 77076-4 vehicle. Vehicle was intended to be able to follow a designated track while avoiding obstacles and other cars. Car was meant to be controller by single Raspberry Pi 3 Model B. Sensors used in this project were Leddar M16, HC-SR04 and Pi Camera.

## Requirements
Before running the project install needed python3 dependencies:
```
pip install flask flask-socketio numpy
```
### OpenCV
OpenCV 3 has to be installed, to be able to 
```
import cv2
```
PiCamera needs to be enabled in raspi-config
### Leddar
Leddar libraries can be put in place by running a script from libs directory:
```
ARCar/modules/libs/runme.sh
```
This script should give normal users access to run leddar binaries. Give access to leddar usb device other way if this script does not work in your system.

## Running the project
Start leddar binary as a user
```
/modules/LeddarTCPListener
```
You should see it listening at port 5001 if it has started succesfully.

Run project with Python 3
```
python3 Interface.py
```
## Using
You can access ARCar's interface in your browser at
```
IP:5000
```
where IP is an IP-address of your ARCar