Skip to content

A visualisation of the math behind swerve drive used in FRC robots using the Processing library.

Notifications You must be signed in to change notification settings

xiaoxiae/SwerveDriveVisualisation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swerve Drive Visualisation

This project is a simple visualisation of the speeds and angles of the vectors of a swerve drive for a given 3-axis input.

It serves both as a nice visualisation for an omnidirectional drive system, and as a help for those trying to understand the math behind a system like this.

Controls

The simulation features minimalistic controls for the Logitech Extreme 3D Pro controller (currently the only supported controller):

  • Left Mouse Click resizes the chassis of the robot.
  • X axis of the controller controls the left/right motion.
  • Y axis of the controller controls the forward/backward motion.
  • Rotation axis of the controller controls the rotation motion.

Resources

About

A visualisation of the math behind swerve drive used in FRC robots using the Processing library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages