Thread: encoder help
View Single Post
  #3   Spotlight this post!  
Unread 19-02-2011, 05:46
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote