robot rotate 90 degrees right or left

Gyro seems to be a good solution... thanks