Skip to content

Commit 48c3348

Browse files
committed
Update tct
1 parent f17565a commit 48c3348

File tree

6 files changed

+6
-2
lines changed

6 files changed

+6
-2
lines changed

src/main/java/org/strykeforce/thirdcoast/telemetry/tct/talon/config/lim/EnableForwardSoftLimitCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public class EnableForwardSoftLimitCommand extends AbstractBooleanConfigCommand
1818

1919
@Override
2020
protected void config(ThirdCoastTalon talon, boolean value) {
21+
logger.info("configForwardSoftLimitEnable = {} for {}", value, talon.getDescription());
2122
talon.configForwardSoftLimitEnable(value, TIMEOUT_MS);
2223
}
2324

src/main/java/org/strykeforce/thirdcoast/telemetry/tct/talon/config/lim/EnableReverseSoftLimitCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public EnableReverseSoftLimitCommand(LineReader reader, TalonSet talonSet) {
1818

1919
@Override
2020
protected void config(ThirdCoastTalon talon, boolean value) {
21+
logger.info("configReverseSoftLimitEnable = {} for {}", value, talon.getDescription());
2122
talon.configReverseSoftLimitEnable(value, TIMEOUT_MS);
2223
}
2324

src/main/java/org/strykeforce/thirdcoast/telemetry/tct/talon/config/lim/ForwardSoftLimitCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public ForwardSoftLimitCommand(LineReader reader, TalonSet talonSet) {
1818

1919
@Override
2020
protected void config(ThirdCoastTalon talon, int value) {
21+
logger.info("configForwardSoftLimitThreshold = {} for {}", value, talon.getDescription());
2122
talon.configForwardSoftLimitThreshold(value, TIMEOUT_MS);
2223
}
2324

src/main/java/org/strykeforce/thirdcoast/telemetry/tct/talon/config/lim/ReverseSoftLimitCommand.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public ReverseSoftLimitCommand(LineReader reader, TalonSet talonSet) {
1818

1919
@Override
2020
protected void config(ThirdCoastTalon talon, int value) {
21+
logger.info("configReverseSoftLimitThreshold = {} for {}", value, talon.getDescription());
2122
talon.configReverseSoftLimitThreshold(value, TIMEOUT_MS);
2223
}
2324

src/test/groovy/org/strykeforce/thirdcoast/telemetry/tct/talon/config/lim/ForwardSoftLimitCommandTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ForwardSoftLimitCommandTest extends AbstractTalonConfigCommandTest {
3131
1 * reader.readLine(_) >>> ["27"]
3232

3333
1 * talon.configForwardSoftLimitThreshold(27, AbstractDoubleConfigCommand.TIMEOUT_MS) // 27
34-
1 * talon.getDescription()
34+
2 * talon.getDescription()
3535
0 * talon._
3636
}
3737

src/test/groovy/org/strykeforce/thirdcoast/telemetry/tct/talon/config/lim/ReverseSoftLimitCommandTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ReverseSoftLimitCommandTest extends AbstractTalonConfigCommandTest {
3131
1 * reader.readLine(_) >>> ["27"]
3232

3333
1 * talon.configReverseSoftLimitThreshold(27, AbstractDoubleConfigCommand.TIMEOUT_MS) // 27
34-
1 * talon.getDescription()
34+
2 * talon.getDescription()
3535
0 * talon._
3636
}
3737

0 commit comments

Comments
 (0)