|
Re: Tank Drive is backwards
Couldn't you also do the following:
drive = new RobotDrive(1, 2);
float leftSpeed = -leftStick.Get();
float rightSpeed = -rightStick.Get();
drive->TankDrive(leftSpeed, rightSpeed);
That's similar to what I've done at the moment. It's not as "proper" as SetInvertedMotor, but it appears to work.
__________________
cout << "Hello, robotics. Goodbye, world." << endl;
"The two-axis accelerometer provided in the kit of parts (shown in the picture below) is a two-axis accelerometer." - WPILib User's Guide
|