mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpilib] Default off LiveWindow telemetry (#4301)
The original idea of LiveWindow telemetry was to automatically make telemetry data visible to users. This has proved increasingly problematic in recent years due to the "spooky action at a distance" of telemetry happening for objects that are only constructed but not used, and blocking or slow object reads resulting in hard-to-debug loop overrun conditions.
This commit is contained in:
@@ -18,7 +18,7 @@ using namespace frc;
|
||||
namespace {
|
||||
struct Component {
|
||||
bool firstTime = true;
|
||||
bool telemetryEnabled = true;
|
||||
bool telemetryEnabled = false;
|
||||
};
|
||||
|
||||
struct Instance {
|
||||
@@ -39,7 +39,7 @@ struct Instance {
|
||||
|
||||
bool startLiveWindow = false;
|
||||
bool liveWindowEnabled = false;
|
||||
bool telemetryEnabled = true;
|
||||
bool telemetryEnabled = false;
|
||||
|
||||
std::function<void()> enabled;
|
||||
std::function<void()> disabled;
|
||||
|
||||
Reference in New Issue
Block a user