This block works for EV3 Robot!
This block offers two methods of utilizing the Gyro Sensor's values:
1. get AngleMode - this is the block's default, and the most useful. This returns the accumulated angle of turn (in degrees) since the beginning of the program, or since the last Gyro Reset block.
2. get RateMode - this method returns the current turn rate in degrees per second. This is only useful for very advanced robotics applications.
This sample code drives the robot along a square path. The get AngleMode block helps the robot turn 90 degrees at each corner.
You can use the HUD to see just how accurate this program is at different power settings.
Of course, proportional control can help increase the accuracy of the program.
Comments
Please sign in to leave a comment.