Setting inverted motor help

Hi all,

I’m trying to call the function “SetInvertedMotor”.

I can’t really find any documentation on this… Has anyone used this successfully?

Thanks!

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:


myRobot.SetInvertedMotor(myRobot.kFrontLeftMotor, true);