View Single Post
  #10   Spotlight this post!  
Unread 16-02-2009, 22:04
blackdeath's Avatar
blackdeath blackdeath is offline
Registered User
AKA: Shawn
FRC #2506 (Saber Robotics)
Team Role: Alumni
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Franklin, WI
Posts: 6
blackdeath is an unknown quantity at this point
Re: Tank Drive Code?

Not related at all to your error, but down at the bottom of your code (first image) you are setting PWM4 and PWM5 to 255. The pwm outputs this year are NOT like last year's. Last year, it was from 0 to 255, with 0 being full reverse and 1 being full forward. This year, it is from -1 to 1, and I have not yet figured out which one is which for the axes, throttle, or motors.
Reply With Quote