YAGSL
  • Welcome to Yet Another Swerve Document
    • Resources
  • Overview
    • What we do
    • Our Features
      • Telemetry
      • Simulation
      • Lock Pose
      • Max Speed
      • Chassis Speed Discretization
      • Vision Odometry
      • Heading Correction
      • Auto-centering Modules
      • Offset Offloading
      • Cosine Compensation
      • Module Auto-synchronization
      • Angular Velocity Compensation
    • Changelog
    • Java API
    • Example Code
    • Config Generator
    • ๐Ÿ’ธDonations
    • ๐Ÿ‘•Merch
    • Discord
  • Fundamentals
    • Swerve Drive
    • Swerve Modules
  • Bringing up swerve
    • Preface
    • Swerve Information
    • Check your gyroscope
    • Check your motors
    • Creating your first configuration
  • Configuring YAGSL
    • Getting to know your robot
      • Gear Ratio
    • Dependency Installation
    • Configuration
      • Swerve Drive Configuration
      • Physical Properties Configuration
      • PIDF Properties Configuration
        • PIDF
      • Swerve Module Configuration
      • Controller Properties Configuration
      • Device Configuration
    • Code Setup
    • Standard Conversion Factors
    • How to tune PIDF
    • When to invert?
    • Flowcharts
    • The eight steps
    • Swerve Drive Drift
    • SparkMAX Common Problems
    • Verifying your Module Locations
    • Tuning out Drift
  • Devices
    • Gyroscope
      • NavX
      • Pigeon
      • Pigeon 2.0
      • ADXRS450
      • ADIS16448
      • ADIS16470
    • Motor Controllers
      • SparkMAX
      • SparkFlex
      • TalonFX
    • Absolute Encoders
  • Analytics and Debugging
    • FRC Web Components
    • Advantage Scope
  • Product Guides
    • Java API
    • PathPlanner
    • โŒTuning PID with REV Hardware Client
    • โŒDrive Code
  • Legacy Documentation
Powered by GitBook
On this page
  • Every swerve drive is different!
  • Measure module locations
  • How to measure module locations (by Team 5010)

Was this helpful?

Edit on GitHub
  1. Bringing up swerve

Swerve Information

Every swerve drive is different!

Even with COTS swerve modules like SDS MK4, and MaxSwerve. Every robot has different dimensions and should not be treated the same.

Measure module locations

Try to measure module locations in CAD to be as precise as possible and go from the center of the wheel to the center of the robot over the "front" and "left" relative to the robot. The units for this is inches!

How to measure module locations (by Team 5010)

  1. Lay the robot on its side and rotate the wheels perpendicular to the direction youโ€™re measuring.

  2. Measure to the outside of each wheel and subtract 1 wheel width to get the measurement from center to center.

  3. Do the same thing in the other direction.

PreviousPrefaceNextCheck your gyroscope

Last updated 1 year ago

Was this helpful?