Redefinition of int

Me and my partner have been having an issues where we get the error "redefinition of ' int RTurn'. We have no idea how to fix this please help.

ROV_2020.ino (4.9 KB)

You have declared RTurn as a global. Does that not mean this it will be available throughout the program, hence there is a problem when you declare it again

It actually built for me.

Use the text search feature in the IDE

Compiles for me.

int maxControllerRange = 33767;
int minControllerRange = -33767;

Note: I think you mean 32767 and -32768.