Control System for running and controlling Jerry the minibot.
Client.py contains all client code.
Server.py contains all server and robot code.
Classes.py contains shared code and constants.
Gyro.py contains all the code for interfacing with the ADXRS450 gyro on Jerry.
The server will automatically start up on Jerry and to gain control just run Client.py.
All of the packages should be in requirements.txt.
pip install -r requirements.txt
Use this to perform various operations on the pi.
Flags:
-u
- Uploads new files to the pi. Must be specified in the file right now its Server.py and Classes.py
-k
- Kills all python programs on the pi. Should use this when uploading files.
-p
- Runs the pigpio daemon on the pi to allow interacting with gpio.
-r
- Runs the Server.py file to start the code.
eg. py runServerCommands.py -k -u -r
will kill the python program, upload new files to the pi and run them.