Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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