- Make a new repository out of the template.
- Add
lukicdarkoo
to Manage access section so the organizer can clone your private repository. - Add your repository to competitors.txt.
Download and install Webots on your local computer.
Create the following directory structure:
git clone https://github.com/cyberbotics/webots-competition-organizer-template.git
git clone [url_to_this_repo] webots-competition-organizer-template/controllers/participant_controller
Run the simulation:
webots webots-competition-organizer-template/worlds/competition.wbt
Once you are satisfied with the result, you can push the changes:
cd webots-competition-organizer-template/controllers/participant_controller
git add -A
git commit -m "Great improvement"
git push
Once the changes are pushed it is usefull to verify whether your controller works properly in the competition.
The Webots GitHub action generates a preview of the competition and publishes it to the gh-pages
branch.
Therefore, you have to choose the gh-pages
branch as the publishing source.
Then, you can access the preview at [your_username].github.io/[your_repo_name]
.