001/************************ PROJECT ZIXI ************************/
002/* Copyright (c) 2026 StuyPulse Robotics. All rights reserved.*/
003/* This work is licensed under the terms of the MIT license.  */
004/**************************************************************/
005package com.stuypulse.robot.subsystems.swerve;
006
007import org.wpilib.math.geometry.Rotation2d;
008
009import org.littletonrobotics.junction.AutoLog;
010
011public interface GyroIO {
012    @AutoLog
013    public static class GyroIOInputs {
014        public boolean connected = false;
015        public Rotation2d yawPosition = Rotation2d.ZERO;
016        public double yawVelocityRadPerSec = 0.0;
017        public double[] odometryYawTimestamps = new double[] {};
018        public Rotation2d[] odometryYawPositions = new Rotation2d[] {};
019    }
020
021    public default void updateInputs(GyroIOInputs inputs) {}
022}