Thad House
72bba2491a
[wpilib] Remove Nidec Brushless support ( #7811 )
2025-02-20 20:14:01 -08:00
Peter Johnson
98f933eca5
Merge branch 'main' into 2027
2025-02-20 00:26:23 -08:00
DeltaDizzy
da47f06d70
[datalog] Move all DataLog functionality to new datalog library ( #7641 )
...
Currently the major DataLog backend API (reading and writing) is split between wpiutil and glass. In the interest of allowing code that wants to use these APIs to not need to link to glass and declutter wpiutil, all of those APIs are moved to a new library named "datalog".
Signed-off-by: Jade Turner <spacey-sooty@proton.me >
Co-authored-by: Jade Turner <spacey-sooty@proton.me >
Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com >
2025-02-19 21:08:17 -08:00
HarryXChen
c898853b4d
[wpilib] LinearSystemSim.setState: calculate new output state ( #7799 )
...
Establishes the invariant that the state and measurement always match up, even immediately after construction.
2025-02-18 22:49:28 -08:00
Tyler Veness
ac1705ae2b
[wpimath] Remove unit suffixes from variable names ( #7529 )
...
* Move units into API docs instead because suffixes make user code verbose and hard to read
* Rename trackWidth to trackwidth
* Make ultrasonic classes use meters instead of a mix of m, cm, mm, ft,
and inches
2025-02-10 08:23:04 -07:00
Peter Johnson
d2611d4ad5
[hal] SPI: Remove byte limit on size in Java API ( #7774 )
...
The underlying Linux spidev supports up to page size length.
2025-02-09 23:01:01 -08:00
Peter Johnson
764ada9b66
[hal] Change usage reporting to string-based ( #7763 )
2025-02-07 13:37:23 -07:00
Ryan Blue
b60b2b64bd
[hal, wpilib] AddressableLED: add support for other color orders ( #7102 )
...
Many LED strips use different color order (GRB in particular is common).
This makes the change at the HAL level. This solves 2 problems; first, no code needs to change in the high level drivers, which was challenging for C++, and second, simulation will behave properly as no conversion is needed. The HAL will accept an array of data objects in the same order no matter what the selected output order is, and will convert before sending it to the FPGA for output.
To accomplish this, NEON bulk load/interleave instructions are utilized. The low level implementation (load, store, and alignment functions) come from the Simd Library. The high level implementations are inspired by the image conversion functions in the simd library, but have diverged significantly.
Much of the implementation uses templates and inlined functions rather than runtime parameters; This is a trade off between the size of the generated code and the amount of function calls done at runtime. Currently, the entire conversion operation is inlined.
2025-02-07 13:36:41 -07:00
Thad House
ad29d45dfb
[hal] Remove HAL_GetPort ( #7754 )
2025-01-30 19:59:34 -07:00
Thad House
6e704370b3
[hal, wpilib] Remove DigitalSource and AnalogTrigger ( #7753 )
2025-01-30 19:58:21 -07:00
Thad House
48ce2dcc8d
[hal, wpilib] Add initial systemcore counter implementation ( #7723 )
2025-01-28 09:58:34 -07:00
Thad House
b799b285b3
[hal, wpilib] Remove digital source from encoder ( #7740 )
2025-01-28 06:43:09 -07:00
Peter Johnson
eee30c49e2
[wpilib] Remove LiveWindow ( #7733 )
...
This will be replaced by a different mechanism, but removing it eases
the initial implementation burden of a new Telemetry/Sendable framework.
2025-01-25 10:52:19 -08:00
Peter Johnson
adbe95e610
[wpilib] Remove Shuffleboard API ( #7730 )
2025-01-24 23:47:42 -08:00
Thad House
5898cdd5c3
[hal, wpilib] Remove interrupt ( #7724 )
2025-01-23 21:45:18 -08:00
Thad House
e2b6beb28a
[hal, wpilib] Remove DigitalGlitchFilter ( #7725 )
2025-01-23 21:44:18 -08:00
Ryan Blue
304b98c0c9
[wpilibc] Alert: Fix first alert in group not publishing data ( #7711 )
2025-01-20 09:10:03 -07:00
Joseph Eng
72541c10e6
[wpilib, commands] Improve HID direction documentation (NFC) ( #7672 )
2025-01-19 20:34:07 -08:00
Peter Johnson
5ab0409c15
[wpilib] ADIS164xx: report product ID on mismatch ( #7706 )
2025-01-17 18:14:20 -08:00
Thad House
5a6c895b87
[hal, wpilib] Remove built in accelerometer ( #7702 )
2025-01-17 14:06:09 -08:00
Thad House
1600e773f4
[hal, wpilib] Remove DMA ( #7701 )
2025-01-17 14:05:34 -08:00
Peter Johnson
4caa16e254
[wpilibj] ADIS16470: Allow product ID of 16470 ( #7704 )
...
C++ allows either 16982 or 16470, do the same for Java.
2025-01-17 13:53:20 -08:00
Thad House
f80874dd4b
[hal, wpilib] Remove analog accumulator and analog gyro ( #7697 )
...
The 2 high level classes were temporarily kept to keep the examples compiling. We will remove those when we have the interface into the built in IMU.
2025-01-17 12:58:31 -08:00
Thad House
92f0a3c961
[hal, wpilib] Remove SPI support ( #7678 )
2025-01-17 00:22:29 -08:00
Thad House
ff1b2a205e
[hal, wpilib] Remove analog output ( #7696 )
2025-01-16 23:20:44 -08:00
Thad House
5017393b3a
[hal, wpilib] Remove relay ( #7695 )
2025-01-16 23:20:07 -08:00
Peter Johnson
d9f8fded09
Merge branch 'main' into 2027
2025-01-16 23:17:59 -08:00
Thad House
1cad4f64a4
[hal] Add high level way of getting systemserver NT instance ( #7683 )
2025-01-16 10:49:40 -07:00
Thad House
58cb395d76
[hal] Add systemcore duty cycle ( #7682 )
2025-01-15 12:57:31 -07:00
Thad House
fa71fb55a2
[wpilib] Remove I2C Warnings ( #7677 )
...
SystemCore won't have the I2C issues.
2025-01-14 12:31:47 -07:00
Jason Daming
fc9e413ce1
[hal, wpilib] Add note about support for WS2815 ( #7664 )
2025-01-13 12:26:54 -07:00
Peter Johnson
1240ee1bf4
[ntcore] Remove NT3 support ( #7625 )
...
- Remove StartClient3
- Rename StartClient4 to StartClient
- Remove port3 parameter from StartServer
- Remove 3-suffix constants
- Remove 4 suffix from constants
Also remove Shuffleboard build from CI.
2025-01-02 23:05:13 -08:00
Peter Johnson
a931a6554f
Merge branch 'main' into 2027
2024-12-29 18:22:39 -08:00
Carl Hauser
eef1bf33de
[wpilib] Fix SmartDashboard.setDefault* docs (NFC) ( #6490 )
...
Fix incorrect comments related to NT SetDefault* methods across multiple components
2024-12-29 18:41:29 -06:00
David Vo
e7dd5dca82
[wpilibj] TimedRobot: Squash ErrorProne warnings ( #7605 )
2024-12-28 21:01:43 -08:00
Peter Johnson
3232630a38
Merge branch 'main' into 2027
2024-12-27 19:40:43 -08:00
sciencewhiz
46d401553e
[wpilib] Add Koors40 motor controller ( #7469 )
2024-12-27 15:04:43 -06:00
Peter Johnson
945d416d07
Merge branch 'main' into 2027
2024-12-14 10:45:32 -08:00
Joseph Eng
4225b732fd
Remove unnecessary boxing ( #7539 )
...
* Remove unnecessary boxing
Also remove unnecessary warning suppression
* Use more idiomatic functional interfaces in NumericalIntegration
2024-12-12 19:18:40 -08:00
Thad House
c8900cadc3
Add SPARKmini to PWM support ( #7504 )
2024-12-07 00:48:20 -08:00
sciencewhiz
892e062316
[hal,wpilib,wpimath] Add Usage Reporting for Choreo and PathWeaver ( #7464 )
2024-11-30 20:33:09 -08:00
sciencewhiz
9807d60566
[hal,wpilib] Change Power Distribution usage reporting to Instances ( #7465 )
...
LabVIEW doesn't appear to report PDP. This should reduce the number of
Unknowns in the parsed UsageReporting.
2024-11-30 20:32:21 -08:00
Nicholas Armstrong
b91864a5ec
[wpilib] Fix acceleration getter for DCMotorSim ( #7449 )
2024-11-29 22:15:00 -08:00
sciencewhiz
0941251375
[wpilib] Add usage reporting for loggers ( #7450 )
2024-11-29 22:13:31 -08:00
Sam Carlberg
5e1c6a84ce
[wpilibj, wpilibc] Fix LED patterns not offsetting reads ( #6948 )
...
Was causing bugs when combined with patterns that need to read back from the buffer (eg masks and overlays)
Co-authored-by: Joseph Eng <s-engjo@bsd405.org >
2024-11-28 21:25:54 -08:00
Thad House
fe28fa1ded
[wpilibj] Fix ADIS16470 Gyro ( #7434 )
2024-11-25 17:23:32 -08:00
sciencewhiz
0a3ccf93c6
[wpimath] Add BangBangController Usage Reporting ( #7411 )
2024-11-20 17:00:54 -08:00
Thad House
561078ce29
[hal] Cache sim TCP data to update during HAL_RefreshDSData ( #7360 )
2024-11-18 20:56:32 -08:00
sciencewhiz
57e10755fd
[wpilib] Add usage reporting for dashboards as instances ( #7294 )
...
Detects dashboards based on network tables client identity.
2024-11-18 10:16:29 -07:00
Jonah Bonner
ca51197486
[wpilib] Add timestamp getters with configurable time base ( #7378 )
2024-11-16 07:43:38 -08:00