Quote:
Originally Posted by Robby Unruh
Okay, thanks again. So I just send those wheels in the drive train like so:
Code:
RobotDrive driveTrain = new RobotDrive(front_left, rear_left, front_right, rear_right);
Then invert the motors like I've been doing, or...?
|
No, RobotDrive takes SpeedControllers in its constructor, not actual values. The example was giving you numbers to pass directly to your Jaguars. The sum total of the algorithm and motor control make your own robot drive method, you don't need the wpilibj version.