Maze simulation: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
Line 61: Line 61:
</tr>
</tr>


 
<tr>
 
<td>0:32</td>
<td>Door detected, request opening, door opened</td>
</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>


<tr>
<tr>
<td>0:35</td>
<td>0:42</td>
<td>Door opened, reset initial direction to driving direction</td>
<td>Detect side door open, move sidewards into internal square</td>
</tr>
</tr>


<tr>
<tr>
<td>0:36</td>
<td>0:45</td>
<td>Drive in 'North' direction</td>
<td>Continue right wall following</td>
</tr>
</tr>


<tr>
<tr>
<td>0:40</td>
<td>1:00</td>
<td>Start following right wall</td>
<td>Front door detected, request opening</td>
</tr>
</tr>


<tr>
<tr>
<td>0:43</td>
<td>0:45</td>
<td>Enter opened door again, drive back into the maze</td>
<td>Door opened, reset initial direction to driving direction</td>
</tr>
</tr>


<tr>
<tr>
<td>0:44</td>
<td>1:02</td>
<td>Continue following right wall</td>
<td>Door opened, reset initial direction to driving direction</td>
</tr>
</tr>


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


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


<tr>
<tr>
<td>1:25</td>
<td>1:37</td>
<td>Turn '''''left''''', continue right wall following</td>
<td>Enter door that was opened first</td>
</tr>
</tr>


<tr>
<tr>
<td>1:38</td>
<td>1:38</td>
<td>Drive in 'North' direction</td>
<td>Continue following right wall</td>
</tr>
 
<tr>
<td>1:41</td>
<td>Enter opened door again, drive towards exit of the maze</td>
</tr>
 
<tr>
<td>1:44</td>
<td>Start following right wall</td>
</tr>
</tr>


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

Revision as of 18:02, 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.

Note: Text that is both Bold and Italic indicates different behavior as expected.

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
0:45 Door opened, reset initial direction to driving direction
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

Simulation with improvements

Time stamp [s] Action
0:01 Drive in 'North' direction
0:02 Start following right wall
0:05 Door detected, request opening
0:11 Fake door detected, request opening
0:18 Fake door detected, request opening
0:26 Turn right, continue right wall following
0:33 Door detected, request opening
0:35 Door opened, reset initial direction to driving direction
0:36 Drive in 'North' direction
0:40 Start following right wall
0:43 Enter opened door again, drive back into the maze
0:44 Continue following right wall
1:21 Drive 'North' direction
1:23 Start following right wall
1:25 Turn left, continue right wall following
1:38 Drive in 'North' direction
1:41 Enter opened door again, drive towards exit of the maze
1:44 Start following right wall
2:10 Exit maze