View Single Post
  #2   Spotlight this post!  
Unread 05-02-2015, 16:29
FRC2501's Avatar
FRC2501 FRC2501 is offline
Registered User
FRC #2501 (Bionic Poalrs)
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Minnesota
Posts: 54
FRC2501 is an unknown quantity at this point
Re: TalonSRX invert?

Quote:
Originally Posted by Alan Anderson View Post
I think you're looking for the setInvertedMotor() function. It works with any Robot Drive object regardless of what kind of speed controller you have on your drivebase.
The SetInvertedMotor() function seems to be broken to me, it doesn't like either
Code:
driveSystem.SetInvertedMotor(kFrontRightMotor, true);
or
Code:
driveSystem.SetInvertedMotor(rightFrontDriveTalon, true);