Peter Johnson
629e8b41f2
[sim] Provide method to set the runtime type ( #2539 )
...
This is needed for extensions that effectively access real hardware and
want to disable the "simulation" parts of user code.
2020-06-26 20:46:13 -07:00
Peter Johnson
62b8a36ce9
[sim] Wrap timing functions in C++ SimHooks ( #2540 )
...
These are present in Java but were missed for C++.
2020-06-20 23:47:55 -07:00
Thad House
3ed2908563
[sim] Add HALSIM accessors for encoder rate and distance ( #2467 )
2020-04-03 08:33:38 -07:00
Peter Johnson
8e7cc3fe78
Add user-friendly SimDeviceSim wrappers ( #2150 )
...
This makes unit testing with SimDevice devices much easier.
2019-12-02 23:27:33 -08:00
Thad House
1d695a1660
Add FPGA Duty Cycle support ( #1987 )
2019-11-01 23:41:30 -07:00
Thad House
2ad15cae19
Add multi PDP getter and sim PCM/PDP multi arg functions ( #2014 )
2019-11-01 21:55:35 -07:00
Peter Johnson
e8d6f8a2c1
Move mockdata/HAL_Value.h to hal/Value.h
...
Also prefix the MakeBoolean et al functions with HAL_ to avoid namespace
pollution.
2019-10-05 22:39:00 -07:00
Thad House
516cbef2c4
Remove RoboRIO ifdef from simulation headers ( #1859 )
2019-09-03 19:55:17 -07:00
Tyler Veness
f432f65bef
Update copyright year in license to 2019 ( #1524 )
...
Also update clang-format to 6.0.
2019-05-17 17:35:09 -07:00
Peter Johnson
e97e7a7611
Add DriverStationSim.notifyNewData ( #1537 )
2019-01-09 23:47:42 -08:00
PJ Reiniger
1462a5bd46
Fix spacing and const correctness in sim ( #1269 )
2018-08-15 22:17:59 -07:00
Thad House
63c1f80d60
halsim_ds_socket: Update tag parsing, and add rumble support ( #1214 )
...
Outputs are now sent. Ensure only the proper number of outputs are actually sent though.
Also adds match time, and proper enable tags.
2018-07-26 01:30:29 -07:00
Tyler Veness
d89b7dd412
Move CameraServer and WPILib headers into their own folder
...
The old headers were moved into folders because doing so avoids polluting
the system include directories.
Folder names were also normalized to lowercase.
2018-07-22 19:40:57 -07:00