Gyro works only upside down

The Gyro in our robot only works properly if placed upside down. Any reason why? Thanks

The gyro reports values in negative if turning clockwise, and positive in counter-clockwise. So you can do 0 - gyro value to make it normal

Where do I put that in my code? “0-gyro”.
These are the subroutines where I have gyro:


1 Like

You do this

Screen Shot 2023-04-20 at 12.35.40 PM