Thad House
ad29d45dfb
[hal] Remove HAL_GetPort ( #7754 )
2025-01-30 19:59:34 -07:00
Ryan Blue
496e7c1bba
[hal] Refactor C++ handle closing; check for invalid handle before closing ( #7016 )
...
Adds a close function pointer template parameter to hal::Handle. This allows default destructors in many places.
The status parameter has been removed from close functions; in most places it was not used. Where it was, an error is printed instead.
2024-09-07 10:58:15 -07:00
Thad House
ee02fb7ba7
[hal] Add support for Pulse-Per-Second signal ( #4819 )
2022-12-14 18:15:34 -08:00
Thad House
a5df391166
[hal, wpilib] Fix up DIO pulse API ( #4387 )
...
The FPGA API takes microseconds directly, instead of a scaled value. Also add a new HAL level API to trigger multiple DIOs with the same pulse at once.
2022-09-02 16:49:42 -07:00
Thad House
6ddef1cca6
[hal] JNI setDIO: use a boolean and not a short ( #3469 )
2021-07-08 23:42:31 -05:00
Thad House
23d2326d1d
[hal] Report previous allocation location for indexed resource duplicates ( #3322 )
2021-05-01 10:28:30 -07:00
Peter Johnson
8f1f64ffb6
Remove year from file copyright message (NFC) ( #2972 )
...
Also update copyright to include "and other WPILib contributors" and clarify
license referral language to not be restricted to FIRST teams.
2020-12-26 14:12:05 -08:00
Peter Johnson
8a80f97c06
[hal] Move JNI helpers and sim namespace to hal namespace ( #2543 )
2020-06-26 17:12:55 -07:00
Peter Johnson
aa90645865
Add ability to associate other devices with a SimDevice
...
Implemented only for AnalogInput, DIO, and Encoder.
2019-10-05 22:39:00 -07:00
Thad House
dd928b4cbf
Remove JNI logging ( #1872 )
2019-09-06 20:42:40 -05:00
Thad House
e210073044
Move HAL classes to their own base package ( #1317 )
...
Needed for modularization.
2018-09-20 21:59:46 -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
Tyler Veness
6729a7d6b1
Run wpiformat on merged repo ( #1021 )
2018-05-13 17:09:56 -07:00
Thad House
7f88cf768d
New 2018 and later build setup ( #1001 )
2018-04-29 13:29:07 -07:00