Re: Beginner tutorials for FTC/NXT
I did not watch all the videos but I did skip through the autonomous one really fast. I have found several problems in your code. You had all the functions such as goForward, goBackward, turnLeft, turnRight etc that use time. You turned the motors ON, waited a number of msec and returned but you never turn the motors off. If you are calling goForward back to back, that's probably ok but then you raised or lowered your arms. In the mean time, your drive motors are still running. BTW, in the motor and sensor setup dialog, you can "reverse" a motor. So instead of doing 75% power on one wheel and -75% power on the other in order to go forward, you should set the LeftDrive motor to "reverse". That way, you will be using positive values on both motors when going forward. Also, at the end, you had compiler error. It's because the code should be:
TouchSensor is of type tSensors. You are interested in the value of the sensor, not the "ID" of the sensor.