|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#9
|
||||
|
||||
|
Re: Which controler for driving mecnum?
Here's a common way to do it: Forward = (Yleft + Yright) / 2 Then feed the Forward and RotateCW values into the Y and Rotation inputs, respectively, to the MecanumDrive_Cartesian method1 in WPILib (or LabVIEW). Use a joystick X axis or something else for the X (strafe) input. 1void RobotDrive::MecanumDrive_Cartesian(float x, float y, float rotation, float gyroAngle) |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|