Skip to content
Snippets Groups Projects
Commit e1c87f6b authored by Matthias König's avatar Matthias König
Browse files

readme rc car

parent dffe2933
No related branches found
No related tags found
No related merge requests found
# RC Car
Scripts for controlling the RC Car. A system overview is shown in figure 1. All algorithms are executed on a workstation that transmits the steer and speed commands over radio to the car. The car sends a video stream of the camera over wireless HDMI to the workstation. Further, a browser-based user interface is available.
<img style="display: block;margin-left: auto;margin-right: auto;width: 100%;"
src="../doc/img/overview.png" width="500"><br />
*Figure 1: System Overview*
The control_server can be started with:
```
python control_server.py --model-dir ../trained_models/rl/ppo/ppo_foyer_obs8_exp_4 --cam /dev/video0 --model-filename best_model
```
The video stream of the camera should be available on the workstation.
The configuration of the transmitter, which should be connected to the workstation, is defined in [config.yml](./config.yml).
For RL models with the Yolo object detector, the path to the trained Yolo model can be specified with
```
--yolo ../trained_models/yolo/TinyYoloModified_cardata.pth
```
The port of the user interface can be specified with `--port 8888` for example.
The user interface can be accessed over HTTP:
```
http://ip_workstation:8888
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment