Maze simulation: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
This page lists the actions performed by PICO during the simulation with the same code as implemented during the maze challenge. For this simulation the same maze layout is used as was used during the challenge. Each of the actions of PICO are listed with the corresponding time stamp from the video.
This page lists the actions performed by PICO during the simulation with the same code as implemented during the maze challenge. For this simulation the same maze layout is used as was used during the challenge. Each of the actions of PICO are listed with the corresponding time stamp from the video. First, the simulation with exact the same code as is used during the maze challenge is described, after which an improved version of this code is listed.


== Simulation of PICO ==
== Simulation ==


<table border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse;">
<table border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse;">
Line 20: Line 20:


<tr>
<tr>
<td>0:05</td>
<td>0:04</td>
<td>Door detected, request opening</td>
<td>Fake door detected, request opening</td>
</tr>
 
<tr>
<td>0:07</td>
<td>Continue following right wall</td>
</tr>
</tr>


<tr>
<tr>
<td>0:11</td>
<td>0:10</td>
<td>Fake door detected, request opening</td>
<td>Fake door detected, request opening</td>
</tr>
</tr>


<tr>
<tr>
<td>0:18</td>
<td>0:13</td>
<td>Fake door detected, request opening</td>
<td>Continue following right wall</td>
</tr>
 
<tr>
<td>0:19</td>
<td>Detect side door open, move sidewards</td>
</tr>
 
<tr>
<td>0:21</td>
<td>Drive in 'North' direction</td>
</tr>
</tr>


<tr>
<tr>
<td>0:26</td>
<td>0:26</td>
<td>Turn right, continue right wall following</td>
<td>Start following right wall</td>
</tr>
 
<tr>
<td>0:29</td>
<td>Detect side door open, move sidewards</td>
</tr>
 
<tr>
<td>0:32</td>
<td>Door detected, request opening, door opened</td>
</tr>
</tr>


<tr>
<tr>
<td>0:33</td>
<td>0:33</td>
<td>Door detected, request opening</td>
<td>Ignore opened door, continue right wall following</td>
</tr>
 
<tr>
<td>0:42</td>
<td>Detect side door open, move sidewards into internal square</td>
</tr>
 
<tr>
<td>0:45</td>
<td>Continue right wall following</td>
</tr>
 
<tr>
<td>1:00</td>
<td>Front door detected, request opening</td>
</tr>
</tr>


<tr>
<tr>
<td>0:35</td>
<td>1:02</td>
<td>Door opened, reset initial direction to driving direction</td>
<td>Door opened, reset initial direction to driving direction</td>
</tr>
</tr>


<tr>
<tr>
<td>0:36</td>
<td>1:03</td>
<td>Drive in 'North' direction</td>
<td>Drive in 'North' direction</td>
</tr>
</tr>


<tr>
<tr>
<td>0:40</td>
<td>1:06</td>
<td>Start following right wall</td>
<td>Start following right wall</td>
</tr>
</tr>


<tr>
<tr>
<td>0:43</td>
<td>1:37</td>
<td>Enter opened door again, drive back into the maze</td>
<td>Enter door that was opened first</td>
</tr>
</tr>


<tr>
<tr>
<td>0:44</td>
<td>1:38</td>
<td>Continue following right wall</td>
<td>Continue following right wall</td>
</tr>
</tr>


<tr>
<tr>
<td>1:21</td>
<td>1:56</td>
<td>Drive 'North' direction</td>
<td>Exit maze</td>
</tr>
 
<tr>
<td>1:57</td>
<td>Continue following right wall, outside maze</td>
</tr>
 
<tr>
<td>2:04</td>
<td>Simulation stopped</td>
</tr>
 
</table>
 
== Simulation with improvements==
 
<table border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse;">
<tr style="background: #D3D3D3;">
<td width="100px"><b>Time stamp [s]</b></td>
<td width="400px"><b>Action</b></td>
</tr>
 
<tr>
<td>0:01 </td>
<td>Drive in 'North' direction</td>
</tr>
</tr>


<tr>
<tr>
<td>1:23</td>
<td>0:02</td>
<td>Start following right wall</td>
<td>Start following right wall</td>
</tr>
</tr>


<tr>
<tr>
<td>1:25</td>
<td>0:04</td>
<td>Turn '''''left''''', continue right wall following</td>
<td>Fake door detected, request opening</td>
</tr>
 
<tr>
<td>0:06</td>
<td>Continue following right wall</td>
</tr>
 
<tr>
<td>0:10</td>
<td>Fake door detected, request opening</td>
</tr>
 
<tr>
<td>0:12</td>
<td>Continue following right wall</td>
</tr>
</tr>


<tr>
<tr>
<td>1:38</td>
<td>0:16</td>
<td>Drive in 'North' direction</td>
<td>Fake door detected, request opening</td>
</tr>
 
<tr>
<td>0:19</td>
<td>Continue right wall following</td>
</tr>
 
<tr>
<td>0:32</td>
<td>Door detected, request opening</td>
</tr>
 
<tr>
<td>0:34</td>
<td>Door opened, reset initial direction to driving direction</td>
</tr>
 
<tr>
<td>0:35</td>
<td>Continue following right wall</td>
</tr>
</tr>


<tr>
<tr>
<td>1:41</td>
<td>0:43</td>
<td>Enter opened door again, drive towards exit of the maze</td>
<td>Enter opened door again, drive back into the maze</td>
</tr>
</tr>


<tr>
<tr>
<td>1:44</td>
<td>0:44</td>
<td>Start following right wall</td>
<td>Continue following right wall</td>
</tr>
</tr>


<tr>
<tr>
<td>2:10</td>
<td>1:06</td>
<td>Exit maze</td>
<td>Exit maze</td>
</tr>
</tr>


</table>
</table>

Latest revision as of 18:09, 21 June 2017

This page lists the actions performed by PICO during the simulation with the same code as implemented during the maze challenge. For this simulation the same maze layout is used as was used during the challenge. Each of the actions of PICO are listed with the corresponding time stamp from the video. First, the simulation with exact the same code as is used during the maze challenge is described, after which an improved version of this code is listed.

Simulation

Time stamp [s] Action
0:01 Drive in 'North' direction
0:02 Start following right wall
0:04 Fake door detected, request opening
0:07 Continue following right wall
0:10 Fake door detected, request opening
0:13 Continue following right wall
0:19 Detect side door open, move sidewards
0:21 Drive in 'North' direction
0:26 Start following right wall
0:29 Detect side door open, move sidewards
0:32 Door detected, request opening, door opened
0:33 Ignore opened door, continue right wall following
0:42 Detect side door open, move sidewards into internal square
0:45 Continue right wall following
1:00 Front door detected, request opening
1:02 Door opened, reset initial direction to driving direction
1:03 Drive in 'North' direction
1:06 Start following right wall
1:37 Enter door that was opened first
1:38 Continue following right wall
1:56 Exit maze
1:57 Continue following right wall, outside maze
2:04 Simulation stopped

Simulation with improvements

Time stamp [s] Action
0:01 Drive in 'North' direction
0:02 Start following right wall
0:04 Fake door detected, request opening
0:06 Continue following right wall
0:10 Fake door detected, request opening
0:12 Continue following right wall
0:16 Fake door detected, request opening
0:19 Continue right wall following
0:32 Door detected, request opening
0:34 Door opened, reset initial direction to driving direction
0:35 Continue following right wall
0:43 Enter opened door again, drive back into the maze
0:44 Continue following right wall
1:06 Exit maze