View Single Post
  #4   Spotlight this post!  
Unread 10-03-2014, 23:52
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 190
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: 4 wheel pwm drive with encoders for an xbox controller

You can only use the encoders connected directly to the JAGs in CANBus mode. You can still use encoders with PWM but you have to connect them to the digital side car's digital inputs or some other input to the cRio and then setup a controller. In LabView there is a PID object and in C++ and Java in WPILib there is a PIDController class you can use.

Edit: What EricH said. I had a hunch someone might beat me to the post.
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?


Last edited by kylelanman : 10-03-2014 at 23:54. Reason: Simultaneous post