-
Notifications
You must be signed in to change notification settings - Fork 193
vrx_2023 validation
This tutorial will allow you to check that your submission for phase 2 or 3 complies with the VRX competition requirements.
We assume you have already installed VRX and prepared a submission that you want to validate. This means:
- You have created a Docker image containing your solution to one or more tasks and uploaded it to Docker hub.
- You have created the required files for a phase 1, phase 2 or phase 3 submission.
-
Change into the
vrx_ws/src
directory you created when installingvrx
.cd ~/vrx_ws/src
-
Clone the
vrx-docker
repository.git clone https://github.com/osrf/vrx-docker
This should create a new
vrx-docker
directory alongside the originalvrx
repository directory. -
Source your
bash.setup
file, change into thevrx-docker
directory, and set the variableTEAM
for later use:source ~/vrx_ws/devel/setup.bash cd vrx-docker TEAM=<your_team_name>
Replace
<your_team_name>
with the team name you will use for your submission. -
Create a new folder called
<your_team_name>
in thevrx-docker/team_config
folder.mkdir team_config/$TEAM
-
Copy your submission files (yaml config files and docker hub image name) to the
vrx-docker/team_config/<your_team_name>
folder.
To test that your dockerhub_image.txt file contains the name of a reachable docker image (and version), run:
#!bash
cat "team_config/$TEAM/dockerhub_image.txt" | xargs docker pull
If the contents of the file are correct, docker should begin to pull your image. Once you have verified this is working, you can exit out of the pull using ctrl+c
.
-
Run the prepare_team_wamv.bash script included with
vrx-docker
to set up your team's wamv configuration:./prepare_team_wamv.bash "$TEAM"
Note that this will produce a
REQUIRED process [wamv_config/wamv_generator-2] has died!
message, which is expected. -
Check compliance:
cat "generated/team_generated/$TEAM/compliant.txt"
The output of the above should be true if your configuration passes compliance tests.
Back: Submission Process | Top: VRX Tutorials | Next: Testing |
---|