mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +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
@@ -14,6 +14,7 @@
|
||||
|
||||
#include "Commands/Scheduler.h"
|
||||
#include "LiveWindow/LiveWindow.h"
|
||||
#include "SmartDashboard/SmartDashboard.h"
|
||||
|
||||
using namespace frc;
|
||||
|
||||
@@ -192,5 +193,6 @@ void IterativeRobotBase::LoopFunc() {
|
||||
TestPeriodic();
|
||||
}
|
||||
RobotPeriodic();
|
||||
SmartDashboard::UpdateValues();
|
||||
LiveWindow::GetInstance()->UpdateValues();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user