View Single Post
  #6   Spotlight this post!  
Unread 16-02-2013, 00:47
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Simple code not functioning correctly

I don't think it would cause the problem you report, but there's a name mismatch in your code. You renamed the "Joystick 1" and "Left and Right Motors" references in Begin and in Teleop, but you didn't track down and fix (or remove) the references in Periodic Tasks.

That would give a one-time error on the Driver Station diagnostic messages display, but it shouldn't keep your motor controllers from working.

If the example project doesn't work, the trouble is usually with the wiring. But since you say a java program functioned properly, the cause is mysterious. Are you sure you didn't correct a power problem in the meantime?
Reply With Quote