@@ -4,7 +4,7 @@ We translated their source code to SECA and made a couple of improvements.
...
@@ -4,7 +4,7 @@ We translated their source code to SECA and made a couple of improvements.
- The sensors are read only once at the beginning of the loop
- The sensors are read only once at the beginning of the loop
- The conditionals in the loop are mutually exclusive by way of nested if-else
- The conditionals in the loop are mutually exclusive by way of nested if-else
- The loop exits and the robot stops when both sensors see black
- The loop exits and the robot stops when both sensors see black
- TurnLeft is simplified. In the original version, the left motor turns backwards while the right motor turns forwards. We changed it so that the left motor stops and the right motor turns forwards. Same for TurnRight.
- TurnLeft is simplified. In the original version, the left motor turns backwards while the right motor turns forwards. We changed it so that the left motor stops and the right motor turns forwards. Similar for TurnRight.