Skip to content

Commit

Permalink
doc: fix rules page regarding track limits violations (#64)
Browse files Browse the repository at this point in the history
Signed-off-by: Yu Asabe <[email protected]>
  • Loading branch information
yuasabe authored Jan 22, 2024
1 parent 45e5628 commit c18afcf
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
12 changes: 6 additions & 6 deletions documentation/docfx_project/rule/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
Expand Down
18 changes: 8 additions & 10 deletions documentation/docfx_project_en/rule/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
]
Expand Down Expand Up @@ -129,4 +127,4 @@ Below are the violations and their corresponding penalties:
]
"collisionViolations": []
}
```
```

0 comments on commit c18afcf

Please sign in to comment.