Thread
:
Setting inverted motor help
View Single Post
#
2
14-01-2009, 19:09
Anshu C.
Programming Lead - Team #1351 (TKO)
AKA: Anshu Chimala
FRC #1351 (TKO)
Team Role: Programmer
Join Date: Jan 2009
Rookie Year: 2006
Location: California
Posts: 2
Re: Setting inverted motor help
SetInvertedMotor takes two parameters: the first is of type "MotorType", which is a typedef'd enumeration defined in RobotDrive.h. The second is a boolean value.
This is how we used it:
Code:
myRobot.SetInvertedMotor(myRobot.kFrontLeftMotor, true);
Anshu C.
View Public Profile
Visit Anshu C.'s homepage!
Find all posts by Anshu C.
Find CD-Media Photos by Anshu C.
Find CD-Media Papers by Anshu C.