Swerve Drive Robot

​
robot width
2
robot length
3
translate up/down
0
translate left/right
0
rotate
0
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
2
and the minimum is 0, so the output vector is scaled to attain the desired range.

References

[1] "Swerve Central." (Dec 31, 2019) team1640.com/wiki/index.php/Swerve_Central.
[2] Team 1072 - Harker Robotics. "First Robotics Competition, 2019." (Dec 31, 2019) frc-events.firstinspires.org/2019/team/1072.

External Links

Model of an Industrial Robot Arm

Permanent Citation

Jatin Kohli
​
​"Swerve Drive Robot"​
​http://demonstrations.wolfram.com/SwerveDriveRobot/​
​Wolfram Demonstrations Project​
​Published: February 18, 2020