![]() |
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! |
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); |
| All times are GMT -5. The time now is 02:40. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi