|
Re: Math.h sin syntax error
The line with the error is:
dist = ( (int)targheight * float sin(((3.14159 / 2) - ((((((int)TILT_SERVO - 190) * (65 / 124)) * (3.14159 / 180)))))) / float sin ( float ( (((((int)TILT_SERVO - 190) * (65 / 124)) * (3.14159 / 180)));
The error is:
C:\frc_camera_2\frc_camera\user_routines.c:360:Err or: syntax error
Halting build on first failure as requested.
BUILD FAILED: Sat Jan 20 19:11:20 2007
|