mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
Fix SmartDashboard PutData to hook setters. (#851)
* Fix SmartDashboard PutData to hook setters. Also update all PutData values in main periodic loop (same as LiveWindow). * Improve SmartDashboard.putData() repeat call handling.
This commit is contained in:
committed by
bradamiller
parent
a3e5378d14
commit
40eb6dfc9b
@@ -84,6 +84,8 @@ class SmartDashboard : public SensorBase {
|
||||
std::shared_ptr<nt::Value> defaultValue);
|
||||
static std::shared_ptr<nt::Value> GetValue(llvm::StringRef keyName);
|
||||
|
||||
static void UpdateValues();
|
||||
|
||||
private:
|
||||
virtual ~SmartDashboard() = default;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user