CarControl script usage manual - MystiCons/AIScouts GitHub Wiki

Using controlling application (cont_recv4 + controlling_app_car_3)

This document explains how to use controlling application in both end device (Raspberry Pi) and controller device (Computer). To begin, you need to move cont_recv4.py and control2.py files into end device, and Controlling_app_car_3.py file into "controlling device".

To start, you need to run those Python 3 files with command python3 <filename.py> at same directory where files are located. Note that you only need to run cont_recv4.py and controlling app files since control2.py is used inside cont_recv4 python script. You also need to run receiving program (cont_recv4) before you try to use controlling app, otherwise you get Connection refused error.

Before you can control the end device, you need to input end device IP address into controlling application. If receiving program cannot get IP address for the device, you can use older version of the controlling application (cont_recv_3.py).

Controls are printed on Controlling application, but in short W and X are used as forward and backward, Q, A and Z are different types of "turning left" and E, D and C are different types of "turning right". S is used as Stop, and its also run after each command (To prevent control staying on in case connection is cut off).