Class BlingIOSim

java.lang.Object
frc.alotobots.library.subsystems.bling.io.BlingIOSim
All Implemented Interfaces:
BlingIO

public class BlingIOSim extends Object implements BlingIO
Simulation implementation of the BlingIO interface. Provides a mock implementation for testing and simulation purposes.
  • Constructor Details

    • BlingIOSim

      public BlingIOSim()
      Constructs a new BlingIOSim instance.
  • Method Details

    • updateInputs

      public void updateInputs(BlingIO.BlingIOInputs inputs)
      Description copied from interface: BlingIO
      Updates the input values for logging and monitoring.
      Specified by:
      updateInputs in interface BlingIO
      Parameters:
      inputs - The inputs object to update with current state
    • setAnimation

      public void setAnimation(com.ctre.phoenix.led.Animation animation)
      Description copied from interface: BlingIO
      Sets a new animation pattern for the LEDs.
      Specified by:
      setAnimation in interface BlingIO
      Parameters:
      animation - The animation pattern to display
    • clearAnimation

      public void clearAnimation()
      Description copied from interface: BlingIO
      Clears the current animation, stopping any running patterns.
      Specified by:
      clearAnimation in interface BlingIO