Skip to content

Latest commit

 

History

History
58 lines (32 loc) · 1.1 KB

README.md

File metadata and controls

58 lines (32 loc) · 1.1 KB

nlp-car

NASCAR Language Processing! ecar

Setup

Raspberry Pi

  1. Install GStreamer

  2. Create and activate virtual environment:

python -m venv .venv

source .venv/bin/activate

  1. Install required packages:

pip install pigpio

  1. Enable the pigiod daemon:

sudo systemctl enable pigpiod

Host Computer (Linux)

  1. Install GStreamer and VLC

  2. Open port 5000/udp:

On Fedora: sudo firewall-cmd --add-port=5000/udp

  1. Create and activate virtual environment:

python -m venv .venv

source .venv/bin/activate

  1. Install required packages:

pip install pynput

Usage

Raspberry Pi

Start server (default port for control is 58008 hehe, default port is 5000 for video stream):

cd car

./run_server.sh <host computer IP>

Host Computer

Start client:

cd control

./run_client.sh <Raspberry Pi IP>

Use WASD to drive, hold space to go fast, Esc to exit. :D