Closed bhall-ctre closed 7 months ago
They are all manually ignored right now for some reason.
Nobody ever needed them so I never bothered. It shouldn't be that bad. Which specific callbacks do you need?
We specifically only need registerSimValueChangedCallback
right now, as that's the callback that's triggered when users change the value of SimDevice fields in the sim GUI.
Problem description
Some of the
hal.simulation
functions for registering callbacks are missing. For example, there is noregisterSimValueChangedCallback
, even though there is acancelSimValueChangedCallback
. These callbacks are necessary for vendors to use WPILib sim GUI inputs.I believe all the relevant callback APIs are in SimDeviceData.h: https://github.com/wpilibsuite/allwpilib/blob/main/hal/src/main/native/include/hal/simulation/SimDeviceData.h
Operating System
Windows
Installed Python Packages
Reproducible example code
No response