Package frc.robot.subsystems.swerve


package frc.robot.subsystems.swerve
  • Class
    Description
    The heading-rate feedforward Swerve hands its aim request ( FieldCentricFacingAngle.withTargetRateFeedforward) while aiming at the hub.
    FM's swerve drivetrain: Phoenix 6's SwerveDrivetrain for control and 250 Hz odometry, with the robot pose owned by PoseFusion on the main loop so it can be replayed.
    Deliberate odometry error in simulation, so the comparison between vision sources has something to correct.
     
     
    Publishes the raw per-module CANcoder data that swerve alignment needs.
     
    Everything the drivetrain reads from CTRE in one loop, as an AdvantageKit input.
    The swerve CANcoder magnet offsets as params, group swerve, so a module re-zeroed in the pit (SwerveAlignment) can be saved without a code change.
    What the Pigeon says about the robot's attitude and knocks, derived from logged inputs so it replays.