This project is for Yolanda - LEGO Mindstorms EV3 Sailship robot. It contains three programs.
The first one simply moves the robot forward and in the middle changes the sail position.
The second one makes the robot follow the direction of the wind indefinetly, while the robot moves "around an island". The following the direction of the wind is achieved with the gyro sensor and a two-state program.
The third one makes the robot do the same as the second one, but now the following the direction of the wind is done with a 3-state program, which means that it has a state, in which the sails arent moving.