001/**
002 * Copyright 2024 The Space Cookies : Girl Scout Troop #62868 and FRC Team #1868
003 * Open Source Software; you may modify and/or share it under the terms of
004 * the 3-Clause BSD License found in the root directory of this project.
005 */
006
007package tagalong;
008
009import edu.wpi.first.wpilibj.TimedRobot;
010import java.util.ArrayList;
011import java.util.List;
012
013/**
014 * Tagalong configurations, must be configured before subsystems are constructed
015 * on boot.
016 */
017public class TagalongConfiguration {
018  /**
019   * The command schedulers loop time, the following line of code must be put into Robot.java's
020   * constructor if using a non-standard loop time!
021   *
022   * ```
023   * TagalongConfiguration.LOOP_PERIOD_S = this.getPeriod();
024   * ```
025   */
026  public static double LOOP_PERIOD_S = TimedRobot.kDefaultPeriod;
027
028  /**
029   * Set isReplayMode to true to replay a log
030   */
031  public static boolean isReplayMode = false;
032
033  /**
034   * Add microsystem names to shuffleboardMicrosystems list if they should be
035   * logged via shuffleboard entries.
036   */
037  public static final List<String> shuffleboardMicrosystems = new ArrayList<>();
038  /**
039   * Add microsystem names to pidTuningMicrosystems list to put them into PID
040   * tuning mode and logged on shuffleboard accordingly.
041   */
042  public static final List<String> pidTuningMicrosystems = new ArrayList<>();
043  /**
044   * Add microsystem names to pidTuningMicrosystems list to put them into
045   * FeedForward tuning mode and logged on shuffleboard accordingly.
046   */
047  public static final List<String> ffTuningMicrosystems = new ArrayList<>();
048}