How do you download the new code to your cRIO?
"Build" & "Run as startup"?
I'm looking at 2010 Game Robot Project.
- In Teleop.vi you aren't using Servo Set Angle correctly. If you look closely there is a red dot where the wire enters the vi icon. That means you wired the wrong kind of input into Set Angle. For now just right-click on the Servo Set Angle icon and choose Replace -> Servo Palette -> Set Position
- You shouldn't have Gyro Close in the Stop case either.
Use the Help -> Show Context Help.
If you click on (or hover over) an icon, it will show you what's supposed to be going in and out of it.
Then click on "detailed help" and it will tell you what the valid values and ranges of each input and output are supposed to be.
For Servo Set Angle, it is expecting an integer input in degrees.
The joystick you wired to it only has a floating point value between -1 and 1.
Servo Set Position expects a floating point value just like your joystick produces.