| Duckietown Challenges | Home | Challenges | Submissions |
LF |
|
|---|---|
| Follow the lane | |
|
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 . |
Note: this is the validation 🏋 challenge - you can see the output but these are not the scores that count.
These are the metrics defined:
driven_lanedir_consec_medianThis 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_medianThis 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_medianThis is the median lateral deviation from the center line.
in-drivable-lane_medianThis is the median of the time spent outside of the drivable zones. For example this penalizes driving in the wrong lane.
No dependencies
At the beginning execute step LFv-sim.
If step LFv-sim has result success, then declare the submission SUCCESS.
If step LFv-sim has result failed, then declare the submission FAILED.
If step LFv-sim has result error, then declare the submission ERROR.
LFv-simTimeout 10000.0
This is the Docker Compose configuration skeleton:
version: '3' services: evaluator: image: docker.io/courchesnea/duckietown-challenges@sha256:804c5b7c4d23081068d2e31eaa05298a8567119af0eaa6408d2d86575b8adea2 environment: experiment_manager_parameters: 'episodes_per_scenario: 1 episode_length_s: 60.0 min_episode_length_s: 0.0 seed: 888 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/courchesnea/duckietown-challenges@sha256:f90dbab6d4ff687b9013a3d673f19e5048e7eec336938dc074ff4f68f281ff5d environment: 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: AIDONODE_NAME: ego0 AIDONODE_DATA_IN: /fifos/ego0-in AIDO_REQUIRE_GPU: '1' AIDONODE_DATA_OUT: fifo:/fifos/ego0-out
The text SUBMISSION_CONTAINER will be replaced with the user containter.
| Cloud simulations | 1 |