mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
[wpilib] Default LiveWindowEnabledInTest to false (#5950)
This commit is contained in:
@@ -215,7 +215,7 @@ class IterativeRobotBase : public RobotBase {
|
||||
/**
|
||||
* Sets whether LiveWindow operation is enabled during test mode.
|
||||
*
|
||||
* @param testLW True to enable, false to disable. Defaults to true.
|
||||
* @param testLW True to enable, false to disable. Defaults to false.
|
||||
* @throws if called in test mode.
|
||||
*/
|
||||
void EnableLiveWindowInTest(bool testLW);
|
||||
@@ -252,7 +252,7 @@ class IterativeRobotBase : public RobotBase {
|
||||
units::second_t m_period;
|
||||
Watchdog m_watchdog;
|
||||
bool m_ntFlushEnabled = true;
|
||||
bool m_lwEnabledInTest = true;
|
||||
bool m_lwEnabledInTest = false;
|
||||
bool m_calledDsConnected = false;
|
||||
|
||||
void PrintLoopOverrunMessage();
|
||||
|
||||
@@ -70,7 +70,7 @@ public abstract class IterativeRobotBase extends RobotBase {
|
||||
private final double m_period;
|
||||
private final Watchdog m_watchdog;
|
||||
private boolean m_ntFlushEnabled = true;
|
||||
private boolean m_lwEnabledInTest = true;
|
||||
private boolean m_lwEnabledInTest;
|
||||
private boolean m_calledDsConnected;
|
||||
|
||||
/**
|
||||
@@ -260,7 +260,7 @@ public abstract class IterativeRobotBase extends RobotBase {
|
||||
/**
|
||||
* Sets whether LiveWindow operation is enabled during test mode. Calling
|
||||
*
|
||||
* @param testLW True to enable, false to disable. Defaults to true.
|
||||
* @param testLW True to enable, false to disable. Defaults to false.
|
||||
* @throws ConcurrentModificationException if this is called during test mode.
|
||||
*/
|
||||
public void enableLiveWindowInTest(boolean testLW) {
|
||||
|
||||
Reference in New Issue
Block a user