added a rotate function that forcefully rotates the robot every 30 seconds