Quote:
Originally Posted by buildmaster5000
You can also use a second joystick. The first joystick will control what I call "move" (forward/ backward relative to the robot's center) and "translate" (left/right relative to the robot's center). Assign the Y axis to move and the X axis to rotate the robot. The second joystick can have its X axis assigned to rotate the robot about its center.
|
I think there's a typo. You have "rotate" assigned twice. One of them should be strafe, right ?
If you have drivers who are already proficient with a
tank drive interface, and you want to take advantage of that, you can use two 2-axis joysticks in standard "tank drive" mode to control the mecanum vehicle.
The left and right joystick Y-axes act just like tank drive to control fwd/rev and turning.
The X-axis on one of the joysticks controls strafing. To avoid inadvertent strafing, you can activate the X-axis command only when a trigger held down.