mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +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
@@ -52,12 +52,24 @@ class SendableBuilderImpl : public SendableBuilder {
|
||||
void UpdateTable();
|
||||
|
||||
/**
|
||||
* Start LiveWindow mode by hooking the setters for all properties.
|
||||
* Hook setters for all properties.
|
||||
*/
|
||||
void StartListeners();
|
||||
|
||||
/**
|
||||
* Unhook setters for all properties.
|
||||
*/
|
||||
void StopListeners();
|
||||
|
||||
/**
|
||||
* Start LiveWindow mode by hooking the setters for all properties. Also
|
||||
* calls the SafeState function if one was provided.
|
||||
*/
|
||||
void StartLiveWindowMode();
|
||||
|
||||
/**
|
||||
* Stop LiveWindow mode by unhooking the setters for all properties.
|
||||
* Stop LiveWindow mode by unhooking the setters for all properties. Also
|
||||
* calls the SafeState function if one was provided.
|
||||
*/
|
||||
void StopLiveWindowMode();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user