|
Re: encoder help
What part of the program is this? Are you using the framework code that enables the robot and sets up the tele and auto modes? If not, that is the problem. The FIRST image for the cRIO will not enable any outputs until a connection exists to the driver station and communication are established by functions such as Start Communications.
If this is teleop or called from it, remove the 100ms delay as that is not small, and will cause the main loop to run slowly enough that all outputs will be disabled for safety reasons.
Greg McKaskle
|