camerongray1515/SDP-2015---Group-6
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Launching the program ================== Launch our code you need to run the launch.py script. The script should be run using the following command: `python launch.py [options] pitch side colour serial-port role` options: -q - skip the 10 second delay when starting the program pitch [0,1] 0 if we are on the main pitch and 1 in the side room. side [left, right] says what side of the pitch we are on. This can sometimes be somewhat counter intuitive so make sure you have put in the right side. colour [blue, yellow] colour is completely useless and will be removed in a later version, however it is required to run at this moment in time. serial-port /path/to/port Is the path to the radio stick port. The port can be found in /dev (use ls /dev to find it) It is usually either /dev/ttyACM0 or dev/ttyACM1 role [attacker,defender] Decides which set of plans we should execute. Defender is the pass ball plan while attacker is the align and shoot at goal plans. ================== Running the simulator ================== NOTE: The simulator was broken by recent changes to the codebase and it has not yet been updated. Run the simulator using python Simulate.py The starting positions of the robots can be changed in Simulate.py If using 32 bit python (not on DICE), the SHOWLABELS flag can be changed to True. This allows drawing planning state. Other simulator variables can be changed in Simulator/Simulator.py ======= Example how to launch program python launch.py -q 0 right blue /dev/ttyACM0 attack python launch.py -q 0 left blue /dev/ttyACM0 attack python launch.py -q 0 left blue /dev/ttyACM0 attack
About
Edinburgh University Informatics System Design Project 2015 - Group 6
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published