Peter Johnson
36811211be
Merge branch 'main' into 2027
2025-04-25 23:45:43 -07:00
Gold856
2f0990e9d2
[commands] Remove control commands and subsystems ( #7921 )
2025-04-25 22:06:26 -07:00
sciencewhiz
90ee11a9e0
[examples] Add DutyCycleEncoder Snippets ( #7930 )
2025-04-25 21:47:53 -07:00
sciencewhiz
21d921184a
[examples] Add compilable code snippets ( #7909 )
...
This enables frc-docs to use RLIs for things that are currently in-line
code blocks, and ensures they compile, which is important with the 2027
breaking changes coming. They are kept separate from the examples to
ensure they don't polute the VSCode examples finder.
Adds the Encoder snippets used in the frc-docs Encoder article as the
first instance of this.
2025-04-22 15:26:26 -06:00
Thad House
e2cc9e0059
[hal, wpilib] PWM Rewrite ( #7845 )
...
The HAL will only contain the output period and the raw microseconds. Higher level things such as SimDevice can handle everything else.
2025-03-20 19:23:22 -07:00
Thad House
52b353fe57
[hal, wpilib] Remove power rails that don't exist on systemcore ( #7861 )
2025-03-14 10:16:08 -07:00
Thad House
baa20fa239
[hal, wpilib] Rewrite CAN APIs ( #7798 )
2025-02-25 19:07:01 -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
Thad House
48ce2dcc8d
[hal, wpilib] Add initial systemcore counter implementation ( #7723 )
2025-01-28 09:58:34 -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
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
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
5017393b3a
[hal, wpilib] Remove relay ( #7695 )
2025-01-16 23:20:07 -08:00
Thad House
58cb395d76
[hal] Add systemcore duty cycle ( #7682 )
2025-01-15 12:57:31 -07:00
Thad House
09a6bc9a25
[build] Remove RoboRIO specializations from build system ( #7670 )
2025-01-13 12:23:54 -07:00
Tyler Veness
df244cd198
[wpimath] Clean up arm and elevator feedforward APIs ( #7595 )
2024-12-27 08:12:14 -06:00
Peter Johnson
2a757eaeb5
Merge branch 'main' into 2027
2024-12-26 18:55:43 -08:00
Nicholas Armstrong
fe49cbe429
[wpimath] Remove Units class from Elevator and Arm Feedforwards ( #7570 )
2024-12-26 20:21:19 -06:00
Peter Johnson
529bab6ca1
Merge branch 'main' into 2027
2024-12-19 20:40:37 -08:00
sciencewhiz
6fe5da7289
[examples] Fix example json for SimpleDifferentialDriveSimulation (NFC) ( #7561 )
...
Uses LTVUnicycleController now instead of RAMSETE.
2024-12-18 09:20:31 -07:00
Tyler Veness
03f0fc4dea
[wpimath] Use immutable member functions in ChassisSpeeds ( #7545 )
2024-12-15 16:09:34 -08:00
Peter Johnson
945d416d07
Merge branch 'main' into 2027
2024-12-14 10:45:32 -08:00
Peter Johnson
4bca79b9af
[wpimath] Revert "ChassisSpeeds fromRelative and discretize methods made instance methods ( #7115 )" ( #7549 )
...
This reverts commit a3b12b3bd9 .
2024-12-14 10:42:49 -08:00
Wispy
cc41a0ed24
[wpilib] Replace MecanumDriveMotorVoltages with a functional interface ( #6760 )
2024-12-08 17:05:06 -08:00
Tyler Veness
220f4e1ba4
[wpimath] Remove RamseteController and RamseteCommand ( #7522 )
2024-12-07 23:38:35 -08:00
Tyler Veness
c497e4ec22
[wpimath] Fix SimpleFeedforward overload set ( #7516 )
2024-12-07 20:32:16 -08:00
Peter Johnson
52b33edcbd
Merge branch 'main' into 2027
2024-12-07 14:11:47 -08:00
Tyler Veness
882233bede
[wpimath] Improve SimpleMotorFeedforward argument names and deprecation message ( #7489 )
...
Also roll back SimpleMotorFeedforward unit API until 2027.
2024-12-06 22:32:40 -08:00
Thad House
82132c3272
[hal] Initial SystemCore empty HAL ( #7454 )
2024-11-30 10:04:00 -08:00
Kavin Muralikrishnan
f377a9c573
[examples] Fix SysId example references to shooter subsystem ( #7392 )
2024-11-27 23:04:53 -08:00
Jonah Bonner
ca51197486
[wpilib] Add timestamp getters with configurable time base ( #7378 )
2024-11-16 07:43:38 -08:00
Nicholas Armstrong
a3b12b3bd9
[wpimath] ChassisSpeeds fromRelative and discretize methods made instance methods ( #7115 )
2024-10-22 17:23:17 -06:00
Ryan Blue
59dc9ad8f4
[examples] Rename SysId example to SysIdRoutine ( #7213 )
...
CMake target output conflicts with sysid (the application) on windows
2024-10-15 22:01:05 -07:00
PJ Reiniger
f1e032f5e6
[examples] Fix cross project import ( #7197 )
2024-10-11 21:17:57 -07:00
Gold856
28cb7cf757
[examples] Add ProfiledPID command to RapidReactCommandBot ( #7030 )
2024-10-11 08:43:24 -07:00
Jade
8f57e4c566
[documentation] Remove more outdated commands examples ( #7054 )
...
There are still some examples we'd like to remove here (eg Hatchbot
traditional) but this is a good start with not too many changes required
in frc-docs.
2024-10-10 23:09:11 -07:00
Jade
679892e8e1
[commands, documentation] Remove controller replaceme commands ( #7053 )
2024-10-10 22:12:02 -07:00
Nicholas Armstrong
4adfa8bf64
[wpimath] Fully discretized ElevatorFF and ArmFF ( #7024 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-10-10 22:10:45 -07:00
Nicholas Armstrong
5acb4109ff
[examples] Fix flaky ArmSimulationTest ( #7170 )
...
Co-authored-by: Starlight220 <53231611+Starlight220@users.noreply.github.com >
2024-10-10 22:07:52 -07:00
Nicholas Armstrong
fe80d72fba
[wpimath] Add cosineScale method to SwerveModuleState and instance optimize ( #7114 )
2024-09-30 13:23:30 -06:00
Sam Carlberg
a9b885070e
[wpiunits] Java units API rewrite ( #6958 )
...
Java generics are too limited to do what we need. This refactors generic code previously in Unit and Measure into unit-specific classes that can have unit-safe math operations (notably, times and divide) that can return values in known units instead of a wildcarded Measure<?>.
Unit-specific measure implementations are automatically generated by ./wpiunits/generate_units.py, which generates generic interfaces and mutable and immutable implementations of those interfaces. These make up the bulk of the diff of this PR (approximately 9300 LOC).
This also adds units for angular and linear velocities, accelerations, and momenta; moment of inertia; and torque.
2024-09-07 10:59:29 -07:00
Gold856
b12b83aa89
Fix typos with cspell ( #6972 )
2024-08-17 07:44:34 -07:00
Tyler Veness
8e0d9ac805
Clean up unit UDL usage ( #6961 )
2024-08-14 10:44:00 -07:00
Gold856
a2060feadc
[commands] Fix and deprecate TrapezoidProfileCommand ( #6722 )
2024-08-13 21:01:17 -07:00
Thad House
9234590703
[build] Fix deprecation warning in wpilibjExamples ( #6912 )
2024-08-02 18:39:25 -07:00
sciencewhiz
7093facced
[examples] Correct comment about renaming Robot class (NFC) ( #6892 )
2024-07-29 07:52:40 -07:00
Jade
57fa388724
[examples] Prepare for RobotInit deprecation by updating examples ( #6623 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-07-16 20:22:39 -07:00