Duckietown Challenges | Home | Challenges | Submissions |
This is the basic lane following challenge. You must follow the lane using the outputs of camera and encoders.
See the documentation for more details.
These are the metrics defined:
driven_lanedir_consec_median
This is the median distance traveled, along a lane. (That is, going in circles will not make this metric increase.)
This is discretized to tiles.
survival_time_median
This is the median survival time. The simulation is terminated when the car goes outside of the road or it crashes with an obstacle or pedestrian.
deviation-center-line_median
This is the median lateral deviation from the center line.
in-drivable-lane_median
This is the median of the time spent outside of the drivable zones. For example this penalizes driving in the wrong lane.
Depends on successful evaluation on LF 🚗 - Lane following (simulation 👾, validation 🏋)
The submission must first pass the testing.
The sum of the following tests should be at least 2.0.
Test on absolute scores:
good_enough
(1.0 points) driven_lanedir_consec_median
.Test on relative performance:
better-than-bea-straight
(1.0 points) straight
.At the beginning execute step sim-0of4
.
If step sim-0of4
has result failed, then declare the submission FAILED
.
If step sim-0of4
has result error, then declare the submission ERROR
.
At the beginning execute step sim-1of4
.
If step sim-1of4
has result failed, then declare the submission FAILED
.
If step sim-1of4
has result error, then declare the submission ERROR
.
At the beginning execute step sim-2of4
.
If step sim-2of4
has result failed, then declare the submission FAILED
.
If step sim-2of4
has result error, then declare the submission ERROR
.
At the beginning execute step sim-3of4
.
If step sim-3of4
has result failed, then declare the submission FAILED
.
If step sim-3of4
has result error, then declare the submission ERROR
.
If (step sim-0of4
has result success) and (step sim-1of4
has result success) and (step sim-2of4
has result success) and (step sim-3of4
has result success), then declare the submission SUCCESS
.
sim-0of4
Timeout 10000.0
This is the Docker Compose configuration skeleton:
version: '3' services: evaluator: image: docker.io/andreacensi/duckietown-challenges@sha256:e2d0541f4e094690b217ed8ffb7159e098030174fe527fa7b66a4de9c1d80b33 environment: replica: '{"index": 0, "total": 4}' experiment_manager_parameters: 'episodes_per_scenario: 1 episode_length_s: 60.0 min_episode_length_s: 0.0 seed: 20200922 physics_dt: 0.05 max_failures: 2 fifo_dir: /fifos sim_in: /fifos/simulator-in sim_out: /fifos/simulator-out sm_in: /fifos/scenario_maker-in sm_out: /fifos/scenario_maker-out timeout_initialization: 120 timeout_regular: 120 port: 10123 scenarios: - /scenarios ' ports: - '10123' simulator: image: docker.io/andreacensi/duckietown-challenges@sha256:f6e97655c6dbe5966e76cbba2afb40fb8b138b1c95181b8e862852ae64b20356 environment: replica: '{"index": 0, "total": 4}' AIDONODE_CONFIG: "env_constructor: Simulator\nenv_parameters:\n max_steps:\ \ 500001 # we don't want the gym to reset itself\n domain_rand: 0\n\ \ camera_width: 640\n camera_height: 480\n distortion: true\n \ \ num_tris_distractors: 0\n color_ground: [0, 0.3, 0] # green\n \ \ enable_leds: true\n" AIDONODE_DATA_IN: /fifos/simulator-in AIDONODE_DATA_OUT: fifo:/fifos/simulator-out solution-ego0: image: SUBMISSION_CONTAINER environment: replica: '{"index": 0, "total": 4}' AIDONODE_NAME: ego0 AIDONODE_DATA_IN: /fifos/ego0-in AIDONODE_DATA_OUT: fifo:/fifos/ego0-out
The text SUBMISSION_CONTAINER
will be replaced with the user containter.
Cloud simulations | 1 |
sim-1of4
Timeout 10000.0
This is the Docker Compose configuration skeleton:
version: '3' services: evaluator: image: docker.io/andreacensi/duckietown-challenges@sha256:e2d0541f4e094690b217ed8ffb7159e098030174fe527fa7b66a4de9c1d80b33 environment: replica: '{"index": 1, "total": 4}' experiment_manager_parameters: 'episodes_per_scenario: 1 episode_length_s: 60.0 min_episode_length_s: 0.0 seed: 20200922 physics_dt: 0.05 max_failures: 2 fifo_dir: /fifos sim_in: /fifos/simulator-in sim_out: /fifos/simulator-out sm_in: /fifos/scenario_maker-in sm_out: /fifos/scenario_maker-out timeout_initialization: 120 timeout_regular: 120 port: 10123 scenarios: - /scenarios ' ports: - '10123' simulator: image: docker.io/andreacensi/duckietown-challenges@sha256:f6e97655c6dbe5966e76cbba2afb40fb8b138b1c95181b8e862852ae64b20356 environment: replica: '{"index": 1, "total": 4}' AIDONODE_CONFIG: "env_constructor: Simulator\nenv_parameters:\n max_steps:\ \ 500001 # we don't want the gym to reset itself\n domain_rand: 0\n\ \ camera_width: 640\n camera_height: 480\n distortion: true\n \ \ num_tris_distractors: 0\n color_ground: [0, 0.3, 0] # green\n \ \ enable_leds: true\n" AIDONODE_DATA_IN: /fifos/simulator-in AIDONODE_DATA_OUT: fifo:/fifos/simulator-out solution-ego0: image: SUBMISSION_CONTAINER environment: replica: '{"index": 1, "total": 4}' AIDONODE_NAME: ego0 AIDONODE_DATA_IN: /fifos/ego0-in AIDONODE_DATA_OUT: fifo:/fifos/ego0-out
The text SUBMISSION_CONTAINER
will be replaced with the user containter.
Cloud simulations | 1 |
sim-2of4
Timeout 10000.0
This is the Docker Compose configuration skeleton:
version: '3' services: evaluator: image: docker.io/andreacensi/duckietown-challenges@sha256:e2d0541f4e094690b217ed8ffb7159e098030174fe527fa7b66a4de9c1d80b33 environment: replica: '{"index": 2, "total": 4}' experiment_manager_parameters: 'episodes_per_scenario: 1 episode_length_s: 60.0 min_episode_length_s: 0.0 seed: 20200922 physics_dt: 0.05 max_failures: 2 fifo_dir: /fifos sim_in: /fifos/simulator-in sim_out: /fifos/simulator-out sm_in: /fifos/scenario_maker-in sm_out: /fifos/scenario_maker-out timeout_initialization: 120 timeout_regular: 120 port: 10123 scenarios: - /scenarios ' ports: - '10123' simulator: image: docker.io/andreacensi/duckietown-challenges@sha256:f6e97655c6dbe5966e76cbba2afb40fb8b138b1c95181b8e862852ae64b20356 environment: replica: '{"index": 2, "total": 4}' AIDONODE_CONFIG: "env_constructor: Simulator\nenv_parameters:\n max_steps:\ \ 500001 # we don't want the gym to reset itself\n domain_rand: 0\n\ \ camera_width: 640\n camera_height: 480\n distortion: true\n \ \ num_tris_distractors: 0\n color_ground: [0, 0.3, 0] # green\n \ \ enable_leds: true\n" AIDONODE_DATA_IN: /fifos/simulator-in AIDONODE_DATA_OUT: fifo:/fifos/simulator-out solution-ego0: image: SUBMISSION_CONTAINER environment: replica: '{"index": 2, "total": 4}' AIDONODE_NAME: ego0 AIDONODE_DATA_IN: /fifos/ego0-in AIDONODE_DATA_OUT: fifo:/fifos/ego0-out
The text SUBMISSION_CONTAINER
will be replaced with the user containter.
Cloud simulations | 1 |
sim-3of4
Timeout 10000.0
This is the Docker Compose configuration skeleton:
version: '3' services: evaluator: image: docker.io/andreacensi/duckietown-challenges@sha256:e2d0541f4e094690b217ed8ffb7159e098030174fe527fa7b66a4de9c1d80b33 environment: replica: '{"index": 3, "total": 4}' experiment_manager_parameters: 'episodes_per_scenario: 1 episode_length_s: 60.0 min_episode_length_s: 0.0 seed: 20200922 physics_dt: 0.05 max_failures: 2 fifo_dir: /fifos sim_in: /fifos/simulator-in sim_out: /fifos/simulator-out sm_in: /fifos/scenario_maker-in sm_out: /fifos/scenario_maker-out timeout_initialization: 120 timeout_regular: 120 port: 10123 scenarios: - /scenarios ' ports: - '10123' simulator: image: docker.io/andreacensi/duckietown-challenges@sha256:f6e97655c6dbe5966e76cbba2afb40fb8b138b1c95181b8e862852ae64b20356 environment: replica: '{"index": 3, "total": 4}' AIDONODE_CONFIG: "env_constructor: Simulator\nenv_parameters:\n max_steps:\ \ 500001 # we don't want the gym to reset itself\n domain_rand: 0\n\ \ camera_width: 640\n camera_height: 480\n distortion: true\n \ \ num_tris_distractors: 0\n color_ground: [0, 0.3, 0] # green\n \ \ enable_leds: true\n" AIDONODE_DATA_IN: /fifos/simulator-in AIDONODE_DATA_OUT: fifo:/fifos/simulator-out solution-ego0: image: SUBMISSION_CONTAINER environment: replica: '{"index": 3, "total": 4}' AIDONODE_NAME: ego0 AIDONODE_DATA_IN: /fifos/ego0-in AIDONODE_DATA_OUT: fifo:/fifos/ego0-out
The text SUBMISSION_CONTAINER
will be replaced with the user containter.
Cloud simulations | 1 |