Class TuningManager

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isEnabled()
      Get if there is currently a tuning mode active.
      void populateNetworkTable​(edu.wpi.first.networktables.NetworkTable table)
      Populates the given network table with data from this class.
      void update()
      Checks for changes in the currently active tuning mode, then runs it if there is one.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TuningManager

        public TuningManager​(Configuration config)
        Constructs a tuning manager.
        Parameters:
        config - The config for this swerve drive.
    • Method Detail

      • update

        public void update()
        Checks for changes in the currently active tuning mode, then runs it if there is one.
      • isEnabled

        public boolean isEnabled()
        Get if there is currently a tuning mode active.
        Returns:
        True if a tuning mode is currently active, false otherwise.
      • populateNetworkTable

        public void populateNetworkTable​(edu.wpi.first.networktables.NetworkTable table)
        Description copied from interface: NetworkTablePopulator
        Populates the given network table with data from this class. May also read in values.
        Specified by:
        populateNetworkTable in interface NetworkTablePopulator
        Parameters:
        table - The table to populate, and possibly read from.