This MyBlock is made in substitution for a regular wait-gyro-rate block. It is made with a filter so that big differences in sensor data don't show up as much. It also uses only absolute values of the data so negative or positive angle on the gyro sensor does not matter. The MyBlock ends, when the rate is below a certain value, which is inputed by a parameter.
By default the Gyro sensor is connected on port 2 but if your robot is different, make sure to change the blocks to suit it.
- 02 May 2019