-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #654 from srobo/code-submitter
Document use of the code-submitter
- Loading branch information
Showing
3 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
layout: page | ||
title: Using the Code Submitter | ||
--- | ||
|
||
# Using the Code Submitter | ||
|
||
For virtual aspects of the competition, such as the [Virtual League][virtual-league], you will submit your code using the [code-submitter][code-submitter]. | ||
Your code will then be run alongside other teams' code in the [simulator][simulator]. | ||
|
||
To prepare your code for upload, you should create a zip archive containing all the code you want to submit. | ||
As with running the code in the simulator locally or on your robot, this must include a file named _exactly_ **`robot.py`**, placed in the root of the archive (not within a subfolder). | ||
You can also provide other files as well and use them from your `robot.py` file, however the code-submitter will always look for a `robot.py` file as that is what the simulator will run. | ||
|
||
Once you have prepared the archive containing your code: | ||
|
||
1. Visit the [Code Submitter][code-submitter] | ||
1. Log in using: | ||
* your team's TLA as the username, in UPPERCASE\ | ||
(your team's channel in Discord is named like `#team-tla`) | ||
* the same password as you used to get access to your team's area in Discord\ | ||
(check with your supervisor if you're not sure what this is) | ||
1. Upload the archive to the Code Submitter | ||
|
||
[virtual-league]: {{ site.baseurl }}/robots_101/programme_structure#virtual-league | ||
[simulator]: {{ site.baseurl }}/simulator/ | ||
[code-submitter]: https://studentrobotics.org/code-submitter/ |