View Single Post
  #2   Spotlight this post!  
Unread 04-02-2014, 23:34
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,587
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Programming issues

Quote:
Originally Posted by jeremy5561 View Post
To diagnose the problem I tried to read the DIO directly and send it to the dashboard but adding the DIO to the code stops the code from working. Simply adding the DIO stops the compressor from running.
When you did this, you tried to allocate DIO 1 twice, which isn't allowed.

Quote:
Additionally sometimes when teleop is started, the motors will sometime randomly jitter, turning the wheel a tiny amount. Very weird. The drive system seems to respond correctly though. The rangefinder attached to the analog module seems to work correctly through all this.

Any idea what could have gone wrong? I can't figure out what could possibly be wrong. Could this be a bad sidecar? I remember one year we had a problem like this because the cable was incorrectly assembled, but the cable seems ok this time. Has anyone had this problem before?
If you remove the DB-37 cable from the digital sidecar, are all 3 power LEDs brightly lit?