mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
Add timing window to simulation GUI
This shows the FPGA time and notifier timing, and has buttons to start/pause/step the simulation. The GUI also pauses DS new data notifications when paused. This could be done globally instead by blocking NotifyNewData at the HAL level?
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "RoboRioGui.h"
|
||||
#include "SimDeviceGui.h"
|
||||
#include "SolenoidGui.h"
|
||||
#include "TimingGui.h"
|
||||
|
||||
using namespace halsimgui;
|
||||
|
||||
@@ -45,6 +46,7 @@ __declspec(dllexport)
|
||||
HALSimGui::Add(RoboRioGui::Initialize);
|
||||
HALSimGui::Add(SimDeviceGui::Initialize);
|
||||
HALSimGui::Add(SolenoidGui::Initialize);
|
||||
HALSimGui::Add(TimingGui::Initialize);
|
||||
|
||||
wpi::outs() << "Simulator GUI Initializing.\n";
|
||||
if (!HALSimGui::Initialize()) return 0;
|
||||
|
||||
Reference in New Issue
Block a user