View Single Post
  #6   Spotlight this post!  
Unread 12-02-2005, 18:37
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: Joystick control rotated?

Quote:
Originally Posted by silliewillie
Thanks, we'll try that, though we're still a little confused why the code is outputting the joystick values to PWM 1,5,11, and 12. Is that what it's doing for everyone? When looking at the code it seemed like the motors should be plugged into 13-16.
The joystick values are copied to the low pwm outputs by the default code. Those are appropriate for dual-joystick "tank" control. For single-joystick control, the comments in default code version 2.4 do say to use pwm13-pwm16, but the actual code controls pwm11 and pwm12. (I assume the change was made because pwm13-pwm16 get a bit twitchy when there are a lot of interrupts going on.)