Skip to content

Commit cf88079

Browse files
committed
mark inner class members package-private
1 parent 2fb0039 commit cf88079

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

commandsv3/src/main/java/org/wpilib/commands3/sysid/SysIdRoutine.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ public SysIdRoutine(Config config, SysIdMechanism mechanism) {
5858
/** Hardware-independent configuration for a SysId test routine. */
5959
public static class Config {
6060
/** The voltage ramp rate used for quasistatic test routines. */
61-
public final Velocity<VoltageUnit> m_rampRate;
61+
final Velocity<VoltageUnit> m_rampRate;
6262

6363
/** The step voltage output used for dynamic test routines. */
64-
public final Voltage m_stepVoltage;
64+
final Voltage m_stepVoltage;
6565

6666
/** Safety timeout for the test routine commands. */
67-
public final Time m_timeout;
67+
final Time m_timeout;
6868

6969
/** Optional handle for recording test state in a third-party logging solution. */
70-
public final Consumer<State> m_recordState;
70+
final Consumer<State> m_recordState;
7171

7272
/** Default voltage ramp rate used in quasistatic test routines, set to 1 volt per second. */
7373
public static final Velocity<VoltageUnit> DEFAULT_RAMP_RATE = Volts.of(1).per(Second);
@@ -140,19 +140,19 @@ public static Config defaults() {
140140
*/
141141
public static class SysIdMechanism {
142142
/** Sends the SysId-specified drive signal to the mechanism motors during test routines. */
143-
public final Consumer<? super Voltage> m_drive;
143+
final Consumer<? super Voltage> m_drive;
144144

145145
/**
146146
* Returns measured data (voltages, positions, velocities) of the mechanism motors during test
147147
* routines.
148148
*/
149-
public final Consumer<SysIdRoutineLog> m_log;
149+
final Consumer<SysIdRoutineLog> m_log;
150150

151151
/** The subsystem containing the motor(s) that is (or are) being characterized. */
152-
private final Mechanism m_subsystem;
152+
final Mechanism m_subsystem;
153153

154154
/** The name of the mechanism being tested. */
155-
public final String m_name;
155+
final String m_name;
156156

157157
/**
158158
* Create a new mechanism specification for a SysId routine.

0 commit comments

Comments
 (0)