This repository bundles the documentation and setup details around the software used in the RCLL.
Most of the software used in the RCLL can be found in the github organization. The docker images for the RCLL get published to the quay.
The rulebook for the RCLL can be found here.
There are various libraries to make communication with the refbox easy, at the moment there is one for Java and one for C++. Here you can find an example that is using the C++ lib.
To use this repository you have to have docker
, docker-compose
and bash
installed. To make the commands available you have to source setup.sh
, you can do this in our local
~/.bashrc
All the commands that are listened below can be configured via various env variables. To overwrite the defaults which are set in the setup.sh
script, manually overwrite them in the file local_setup.sh
. This file is ignored in git and will be created automatically once you source the setup.sh
for the first time.
If you want to play a c0 productino challenge, one must add export REFBOX_CONFIG_CHALLENGE=./../config/refbox/challenge_prod_c0.yaml
into his local_setup.sh
.
start the refbox and the vue frontend. the ui can then be accessed via: http://localhost/
Env variables for configuration:
REFBOX_IMAGE
image to use for refboxREFBOX_TAG
tag to use for refboxREFBOX_FRONTEND_IMAGE
image to use for refbox frontendREFBOX_FRONTEND_TAG
tag to use for refbox frontendREFBOX_CONFIG_GAME
game config to use in the refbox.REFBOX_CONFIG_SIMULATION
simulation config to use in the refbox.REFBOX_CONFIG_COMM
communication config to use in the refbox.REFBOX_CONFIG_MPS
mps config to use in the refbox.REFBOX_CONFIG_TEAM
team config to use in the refbox.REFBOX_CONFIG_CHALLENGE
challenges config to use in the refbox.REFBOX_CONFIG_MONGODB
mongodb config to use in the refbox.
Note: The image is only available via ghcr.io, so you have to login in order to be able to pull it!
Env variables for configuration:
RC_MQTT_START
set to true if mqtt bridge should startRC_MQTT_BROKER
broker to connec toRC_MQTT_REFBOX
ip of the refboxRC_MQTT_TEAM
team nameRC_MQTT_KEY
crypto key for refbox communication
In the folder config/refbox
are some configuraitons which are used by default. You can find more here in the rcll-refbox repository.
start the rcll-simulator and the frontend for it. The ui can then be accessed via http://localhost:4200/``.
Env variables for configuration:
SIMULATOR_IMAGE
image to use for simulatorSIMULATOR_TAG
tag to use for simulatorSIMULATOR_FRONTEND_IMAGE
image to use for simulator frontendSIMULATOR_FRONTEND_TAG
tag to use for simulator frontendSIMULATOR_CONFIG_FILE
the config file used for the simulator.
Generally it is good to take a look at the refbox wiki, which contains a lot of information.
Each Team has to communicate with the refbox. This is done via the rcll-protobuf-msgs. You can find a detailed documentation on them here. In the refbox repository is a wiki entry giving a good overview of the communication, see this link