Interface DriveBaseIO

All Known Implementing Classes:
DriveBaseIOYagsl

public interface DriveBaseIO
Defines the contract for drive base sensor inputs that AdvantageKit will log. Implementations should pull data from the active drive system (hardware or simulation) and populate the provided inputs structure once per loop.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Container of all drive base telemetry fields that AdvantageKit will persist automatically.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Refreshes the inputs structure with the latest state from the drive base sensors.
  • Method Details

    • updateInputs

      void updateInputs(DriveBaseIO.DriveBaseIOInputs inputs)
      Refreshes the inputs structure with the latest state from the drive base sensors.
      Parameters:
      inputs - mutable inputs container to populate for logging