View Single Post
  #4   Spotlight this post!  
Unread 07-11-2012, 20:51
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: motor reverse direction

If you're using the SetSpeed function, or whatever it's called now (it's been a few years), the values passed (-1 to 1) determines the speed, with 0 being stopped, 1 being full power one direction, and -1 being the opposite direction at full power. Try negating the value passed in to the controller to make the motor spin the other way.
__________________
Attending: MN Duluth Regional