Error during auton

I am getting this error message while running my auton. Can someone please help?

Thanks
Capture 18

can you send the error message when you try to build it?

There isn’t really an error message here.

1 Like

The included screenshot is not enough information to help you with your problem.

Please copy and paste your entire program (wrapped in [code]...[/code] tags for formatting) into a reply, as well as the entire contents of the “output” tab that appear when you try to compile.

2 Likes

Your variable is defined as an int but it is assigned a decimal value. Change it to a float to get rid of the error.

5 Likes

You are assigning a non integer value to an variable declared as an integer. Either declare the variable as a double, or get rid of the decimal

3 Likes

ok.

1 Like