Swerve Drive Robot
Swerve Drive Robot
This Demonstration simulates a robot with a swerve drivetrain [1, 2]. Given a combination of robot translations and rotations, the translation, rotation and output vectors for each of the four independent swerve modules are computed and displayed. You can determine the vectors for each module for desired translation and rotation of the robot.
An output vector represents a velocity vector, in the direction that the module should point. The magnitude of the vector is proportional to the rotational speed of the module's wheel. The maximum output vector magnitude is and the minimum is 0, so the output vector is scaled to attain the desired range.
2