... | ... | @@ -22,7 +22,7 @@ GUI is used to operate the robot and define the state machine of the different t |
|
|
7. In GUI: Add behaviours and press "START"
|
|
|
|
|
|
## An easy state machine example:
|
|
|
This example shows ghow to build a state machine that will follow the first person that the robot sees. By not defining any ID (see step 2) it will stop this behaviour on the first person it sees. By defining person ID as "from 1" in step 4, it will follow the person ID that was found in the behaviour-ID 1 (displayed in the center of the blocks).
|
|
|
This example shows how to build a state machine that will follow the first person that the robot sees and then stop after 5 seconds. By not defining any ID (see step 2) it will stop the behaviour on the first person it sees. By defining person ID as "from 1" in step 4, it will follow the person ID that was found in the behaviour-ID 1 (displayed in the center of the blocks).
|
|
|
|
|
|
1. Click on "Add next"
|
|
|
2. To the left define the first behaviour:
|
... | ... | |