From c18afcf92898845e9b19ff64ce28f8699b585ad4 Mon Sep 17 00:00:00 2001 From: Yu Asabe Date: Mon, 22 Jan 2024 01:48:07 -0500 Subject: [PATCH] doc: fix rules page regarding track limits violations (#64) Signed-off-by: Yu Asabe --- documentation/docfx_project/rule/index.md | 12 ++++++------ documentation/docfx_project_en/rule/index.md | 18 ++++++++---------- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/documentation/docfx_project/rule/index.md b/documentation/docfx_project/rule/index.md index 6e221d6..d26f78f 100644 --- a/documentation/docfx_project/rule/index.md +++ b/documentation/docfx_project/rule/index.md @@ -83,15 +83,15 @@ "isLapCompleted": false, "isTimeout": false, "trackLimitsViolation": [ - 19, # out of track less than 2 sec - 19, # out of track more than 2 sec - 2, # out of track less than 5m - 2, # out of track more than 5m + 19, # Duration of time spent off track is less than 2 seconds. (Minor) + 19, # Distance from track limit is less than 5 meters. (Minor) + 2, # Duration of time spent off track is more than 2 seconds. (Major) + 2, # Distance from track limit is more than 5 meters. (Major) 0 # not used ], "collisionViolation": [ - 0, # collision less than 2 sec - 0, # collision more than 2 sec + 0, # Duration of collision is less than or equal to 2 seconds. (Minor) + 0, # Duration of collision is more than 2 seconds. (Major) 0, # not used 0 # not used ] diff --git a/documentation/docfx_project_en/rule/index.md b/documentation/docfx_project_en/rule/index.md index 6058f7a..e3e0237 100644 --- a/documentation/docfx_project_en/rule/index.md +++ b/documentation/docfx_project_en/rule/index.md @@ -78,22 +78,20 @@ Below are the violations and their corresponding penalties: ```json { "rawLapTime": 72.77926, - "distanceScore": 457.0, + "distanceScore": 86.7, "lapTime": 302.779266, "isLapCompleted": false, "isTimeout": false, "trackLimitsViolation": [ - 19, # out of track less than 2 sec - 19, # out of track more than 2 sec - 2, # out of track less than 5m - 2, # out of track more than 5m + 19, # Duration of time spent off track is less than 2 seconds. (Minor) + 19, # Distance from track limit is less than 5 meters. (Minor) + 2, # Duration of time spent off track is more than 2 seconds. (Major) + 2, # Distance from track limit is more than 5 meters. (Major) 0 # not used ], "collisionViolation": [ - 0, # collision less than 2 sec - 0, # - - collision more than 2 sec + 0, # Duration of collision is less than or equal to 2 seconds. (Minor) + 0, # Duration of collision is more than 2 seconds. (Major) 0, # not used 0 # not used ] @@ -129,4 +127,4 @@ Below are the violations and their corresponding penalties: ] "collisionViolations": [] } -``` \ No newline at end of file +```