Thread: Random Signal
View Single Post
  #10   Spotlight this post!  
Unread 10-02-2012, 01:55
flargen507 flargen507 is offline
Registered User
FRC #0159
 
Join Date: Feb 2012
Location: Fort Collins, CO
Posts: 12
flargen507 is on a distinguished road
Re: Random Signal

First off, are you using PWM?
If so, our team had a similar issue where, when enabled and recieving no signal from the joystick, it will randomly move the motors a little bit. It looks like the robot is twitching. If this is what is happening to you, go into your code and make sure there are no slots on the Digital Sidecar that are not hooked up (e.g. if you are trying to send values to PWM 7, which has nothing plugged into it.) When you get an active pin with no wire, it builds up a small charge on the Digital Sidecar, which then randomly discharges, and is interpreted by the motor controller as a very small signal.