Skip to content

Commit

Permalink
deploy: 32dab2c
Browse files Browse the repository at this point in the history
  • Loading branch information
taikitanaka3 committed Nov 29, 2023
1 parent f4c4091 commit dd01b5b
Show file tree
Hide file tree
Showing 11 changed files with 386 additions and 372 deletions.
43 changes: 8 additions & 35 deletions en/local/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,55 +89,28 @@ <h1 id="local-enviroment">Local Enviroment</h1>
<br> -->
<p>  Participants will be asked to create a ROS2 package to carry out the scenario, and the following ROS2 package is provided in aichallenge2023-racing/docker/aichallenge/aichallenge_ws/src as sample code to serve as a base for this in this repository The following ROS2 package is provided.<br>
Please place the ROS2 package you created under aichallenge_ws/src/aichallenge_submit and follow the steps below to build and run it.</p>
aichallenge_launch, sim_msgs change is not applied at submission</p>
<h2 id="sample-code">Sample Code</h2>
<p>The following is a partial configuration under  aichallenge2023-racing/docker/aichallenge/aichallenge_ws/src.</p>
<p> aichallenge2023-racing/docker/aichallenge/aichallenge_ws/src directory structure is below</p>
<ul>
<li>aichallenge_launch
<ul>
<li>Contains the main launch file aichallenge.launch.xml. All ROS2 nodes are launched from this launch file.</li>
</ul>
</li>
<li>aichallenge_scoring
<ul>
<li>aichallenge_scoring is responsible for the tasks required for scoring and ranking the AI Challenge participants.</li>
</ul>
</li>
<li>aichallenge_scoring_msgs
<ul>
<li>msgs for scoring</li>
</ul>
</li>
<li>aichallenge_scoring_result
<ul>
<li>Calculate scores from /aichallenge/score and /aichallenge/collision.</li>
</ul>
</li>
<li>aichallenge_submit
<ul>
<li>All ROS2 packages implemented by participants should be placed in this directory, as only the contents of this directory will be submitted at the time of submission.</li>
<li>Please modify this launch file accordingly to configure the ROS2 nodes you have implemented to be launched. Please modify this launch file accordingly and configure it so that your ROS2 node will be activated.</li>
<li>initialpose_publisher
<ul>
<li>Since the default initial position estimation may result in initial position deviations, this function provides the ability to set the vehicle position at a pre-defined initial position.</li>
</ul>
</li>
<li>pose_initializer_custom
<ul>
<li>The pose_initializer package in autoware.universe has been modified to discard the posture calculated by Monte-Carlo and NDT Matching and set it with the posture sent by the <code>initialpose_publisher</code>.</li>
</ul>
</li>
<li>self_driving_controlloer
<ul>
<li>Provides the ability to set GoalPose and engage required to start automatic operation.</li>
</ul>
</li>
<li>autoware_launch
<li>Please modify this launch file accordingly to configure it to launch the ROS2 node you have implemented. Please modify this launch file accordingly to configure your ROS2 node to be launched.</li>
<li>autoware_launch, autoware_universe_launch
<ul>
<li>We have copied and partially edited the launch, config-related packages of Autoware; Autoware in the Docker image has removed the packages included here. You can modify the behavior of Autoware by editing here.</li>
<li>The Autoware packages included here have been removed from the Docker image of Autoware. You can modify the behavior of Autoware by editing here.</li>
<li>If you want to use the files before the modification, please copy the files from <a href="https://github.com/autowarefoundation/autoware_launch/tree/awsim-stable">autoware_launch</a>, <a href="https://github.com/autowarefoundation/autoware.universe/tree/awsim-stable/launch">autoware_universe's launch directory</a>.</li>
</ul>
</li>
<li>autoware_micro Folder for creating a minimum configuration of autoware.</li>
<li>dallara_interface A set of packages to adapt the vehicle used in Autonoma.</li>
<li>sample_pakcages Sample packages for creating custom packages.</li>
</ul>
</li>
</ul>
Expand Down
23 changes: 0 additions & 23 deletions en/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,29 +193,6 @@
},
"version": ""
},
{
"type": "Conceptual",
"source_relative_path": "teams/index.md",
"output": {
".html": {
"relative_path": "teams/index.html"
}
},
"version": ""
},
{
"type": "Toc",
"source_relative_path": "teams/toc.yml",
"output": {
".json": {
"relative_path": "teams/toc.json"
},
".html": {
"relative_path": "teams/toc.html"
}
},
"version": ""
},
{
"type": "Toc",
"source_relative_path": "toc.yml",
Expand Down
26 changes: 19 additions & 7 deletions en/online/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,19 +104,31 @@ <h2 id="upload-procedure-to-online-environment">Upload Procedure to Online Envir
<ol start="2">
<li>Build the Docker image</li>
</ol>
<pre><code> # In the aichallenge2023-racing/docker/evaluation directory
<pre><code class="lang-sh"> # In the aichallenge2023-racing/docker/evaluation directory
bash build_docker.sh
</code></pre>
<ol start="3">
<li>Launch AWSIM</li>
<li>Start the Docker container (After launch, autoware will start automatically, and autonomous driving will begin)</li>
<li>Launch AWSIM
Start the Docker container (After launch, autoware will start automatically, and autonomous driving will begin)</li>
</ol>
<pre><code> #In the aichallenge2023-racing/docker/evaluation directory
<p>GPU version</p>
<pre><code class="lang-sh"> # In the aichallenge2023-racing/docker/evaluation directory
bash run_container.sh
</code></pre>
<ol start="5">
<li>Verify result.json<br>
Once the evaluation is complete, result.json will be stored in the <code>output</code> folder.</li>
<p>CPU version</p>
<pre><code class="lang-sh"> # In the aichallenge2023-racing/docker/evaluation directory
bash run_container_cpu.sh
</code></pre>
<ol start="4">
<li>Verify result.json
after evaluation、output folder has below
<ul>
<li>result.json</li>
<li>rosbag.db3</li>
<li>rviz_capture.mp4</li>
<li>autoware.log</li>
</ul>
</li>
</ol>
</li>
<li><p>Upload to the Online Environment
Expand Down
125 changes: 93 additions & 32 deletions en/rule/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,61 +80,60 @@ <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
</div>

<article data-uid="">
<h1 id="rule">Rule</h1>

<p>This page explains the rules and ranking system for the competition. Please note that the contents of this page may change during the tournament period.</p>
<p>Certainly! Here's the translation of the provided text in the same format:</p>
<h1 id="rule">Rule</h1>
<p> This page explains the rules and ranking system of the competition. Please note that the contents of this page may change during the competition period.</p>
<h2 id="ranking-system">Ranking System</h2>
<p>The ranking of participants is determined based on the following two metrics:</p>
<p> Participants' rankings are determined based on the following two criteria:</p>
<ol>
<li>Distance Points:
<ol>
<li>For participants who could not reach the goal within the time limit (10 minutes), their ranking is determined by the <code>distance points (0-100)</code> corresponding to the distance they could travel from the starting point within the time limit.</li>
<li>If the participant's vehicle completed a lap within the time limit, the <code>distance points</code> are 100.</li>
<li>In the case of disqualification, the <code>distance points</code> are 0.</li>
<li>If the distance points are the same, the person with less time added due to penalties will rank higher.</li>
<li>For participants who cannot reach the goal within the time limit (10 minutes), the ranking is determined by <code>Distance Points (0-5700)</code>, based on the distance traveled from the start point within the time limit.</li>
<li>If the goal is reached within the time limit, the <code>Distance Points</code> are approximately 5700 points. (Details of the exact distance are omitted for brevity.)</li>
</ol>
</li>
<li>Total Time:
<ol>
<li>For participants who reached the goal within the time limit, their ranking is determined by the <code>total time</code>, which is the sum of the time elapsed from start to finish and penalty time. The penalty time will be calculated based on violations during the race.</li>
<li>For participants who reach the goal within the time limit, the ranking is determined by the <code>Total Time</code>, which includes the time taken from start to goal plus any penalties.</li>
</ol>
</li>
</ol>
<p><em><strong>Ranking Example</strong></em></p>
<p><em><strong>Example of Ranking</strong></em></p>
<table>
<thead>
<tr>
<th>Distance Points</th>
<th>Time from Start to Goal</th>
<th>Time Added Due to Penalties</th>
<th>Time Addition due to Penalty</th>
<th>Total Time</th>
<th>Rank</th>
</tr>
</thead>
<tbody>
<tr>
<td>100</td>
<td>5700</td>
<td>01:10</td>
<td>00:00</td>
<td>01:10</td>
<td>1</td>
</tr>
<tr>
<td>100</td>
<td>5700</td>
<td>01:30</td>
<td>00:10</td>
<td>01:40</td>
<td>2</td>
</tr>
<tr>
<td>100</td>
<td>5700</td>
<td>01:20</td>
<td>00:30</td>
<td>01:50</td>
<td>3</td>
</tr>
<tr>
<td>50</td>
<td>60</td>
<td>N/A</td>
<td>00:00</td>
<td>N/A</td>
Expand All @@ -157,36 +156,98 @@ <h2 id="ranking-system">Ranking System</h2>
</tbody>
</table>
<h3 id="penalty">Penalty</h3>
<p>Deviation from the course and collisions with other vehicles running alongside are considered violations. There are 3 types of penalty for violations:</p>
<p> Violations such as deviating from the course or colliding with other vehicles are penalized. The penalties for violations are:</p>
<ol>
<li>Disqualification</li>
<li>10-second addition to the driving time</li>
<li>5-second addition to the driving time</li>
<li>End of run</li>
<li>Addition of 10 seconds to the running time</li>
<li>Addition of 5 seconds to the running time</li>
</ol>
<p>The following lists each violation and the corresponding penalty.</p>
<p><strong>Critical Violation (Disqualification)</strong></p>
<p>Below are the violations and their corresponding penalties:</p>
<p><strong>End of Run</strong></p>
<ul>
<li>Deviating from the course (for more than 2 seconds)</li>
<li>Deviating from the course (more than 5m from the course boundary)</li>
<li>Driving in the wrong direction on the course</li>
<li>Deviating more than 5m from the course boundary for more than 10 seconds</li>
<li>Being more than 100 seconds away from the course boundary</li>
<li>Completion of the run is considered when crossing the following goal point.
Sample can be found at <code>docker/aichallenge/aichallenge_ws/src/aichallenge_submit/autoware_micro/goal_pose_setter/config/default_goal_pose.param.yaml</code> (Note: yaml file is not specified in the launch file)
<pre><code class="lang-yaml"> goal.position.x: 21912.0
goal.position.y: 52267.5
</code></pre>
</li>
</ul>
<p><strong>Sevior Violation (Penalty: 10 seconds per occurrence):</strong></p>
<p><strong>Major Violation (Penalty: 10 seconds/occurrence):</strong></p>
<ul>
<li>Colliding with another vehicle (the collision state lasts for more than 2 seconds)</li>
<li>Collision with another vehicle that lasts more than 2 seconds</li>
<li>Deviating more than 5m from the course boundary</li>
<li>Deviating more than 2 seconds from the course boundary</li>
</ul>
<p><strong>Minor Fouls (Penalty: 5 seconds per occurrence):</strong></p>
<p><strong>Minor Violation (Penalty: 5 seconds/occurrence):</strong></p>
<ul>
<li>Deviating from the course (for less than 2 seconds <strong>AND</strong> less than 5m from the course boundary)</li>
<li>Colliding with another vehicle (the collision state is resolved within 2 seconds)</li>
<li>Deviating from the course (less than 2 seconds <strong>and</strong> less than 5m from the course boundary)</li>
<li>Collision with another vehicle (resolved within 2 seconds)</li>
</ul>
<p><strong>Note</strong></p>
<ul>
<li>In cases where another vehicle collides with the rear of your vehicle (e.g., being rear-ended by another vehicle), it is not considered the fault of your vehicle and no penalty will be applied.</li>
<li>In cases where another vehicle collides with the rear of your vehicle (e.g., rear-end collision by another vehicle), it is not considered your fault, and no penalty is applied.</li>
<li>Do not drive in the wrong direction.</li>
<li>Do not cut corners.</li>
</ul>
<h2 id="submission">Submission</h2>
<p>Participants are requested to upload the software they developed to the evaluation system via the submission page. Three simulations will be conducted for each upload, and distance points and total time will be calculated for each simulation. The best score out of the three simulation results will be reflected in the ranking.</p>
<h3 id="how-to-check-results">How to check results</h3>
<p>The details and results of the simulations are planned to be available for confirmation through a json file output by the evaluation system and videos of the simulations. Please wait for further announcements.</p>
<p> Participants are required to upload their developed software to the evaluation system via the submission page. Three simulations will be conducted for each upload, and distance points and total time calculations will be performed for each simulation. The highest score among the three simulation results will be reflected in the rankings.</p>
<h3 id="how-to-check-results">How to Check Results</h3>
<p> The score of the results will be sent to <code>result.json</code>.</p>
<h4 id="log-format-for-results">Log Format for Results</h4>
<p> The results will be output in the following format in <code>~/awsim-logs/result.json</code>.</p>
<pre><code class="lang-json">{
&quot;rawLapTime&quot;: 72.77926,
&quot;distanceScore&quot;: 457.0,
&quot;lapTime&quot;: 302.779266,
&quot;isLapCompleted&quot;: false,
&quot;isTimeout&quot;: false,
&quot;trackLimitsViolation&quot;: [
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
0 # not used
],
&quot;collisionViolation&quot;: [
0, # collision less than 2 sec
0, #

collision more than 2 sec
0, # not used
0 # not used
]
}
</code></pre>
<p> Additionally, <code>~/awsim-logs/verbose_result.json</code> will also be output in the following format.</p>
<pre><code class="lang-json">{
&quot;rawLapTime&quot;: 0.0,
&quot;distanceScore&quot;: 0.0,
&quot;lapTime&quot;: 0.0,
&quot;isLapCompleted&quot;: false,
&quot;isTimeout&quot;: false,
&quot;boundsViolations&quot;: [
{
&quot;distance&quot;: 0.3017645,
&quot;distanceFromBound&quot;: 2.26600266,
&quot;duration&quot;: 0.0160293132
},
{
&quot;distance&quot;: 2.776487,
&quot;distanceFromBound&quot;: 1.01412094,
&quot;duration&quot;: 0.0801174641
},
{
&quot;distance&quot;: 2.91162729,
&quot;distanceFromBound&quot;: 1.1498549,
&quot;duration&quot;: 0.08674298
},
....
]
&quot;collisionViolations&quot;: []
}
</code></pre>

</article>

Expand Down
Loading

0 comments on commit dd01b5b

Please sign in to comment.