Hey!
My team is using a four-wheeled holonomic drive. We are using four Victors.
Quote:
RobotDrive myRobot;
Victor VictorFrontLeft;
Victor Victor RearLeft;
Victor VictorFrontRight;
Victor VictorRearRight;
Joystick Joystick;
.....
......
myRobot(4,1,3,2);
Joystick(3);
VictorFrontLeft (4),
VictorRearLeft (1),
VictorFrontRight(3),
VictorRearRIght (2)
......
......
In Operated Control:
myRobot.HolonomicDrive( Joystick.GetMagnitude (), JoyStick.GetDirectionDegrees (), JoyStick.GetTwist());
.....
|
The drive itself works. I attempted using:
Quote:
|
myRobot.SetLeftRightMotorSpeeds (0.1, 0.1);
|
to set max speed that Victors can operate the motors at so that the drive would be more controllable, but it didn't work.
How would I set max speed of a Victor?
Thank you very much!