Peter Johnson
18efd1e534
Move robot base classes from opmode to framework ( #8344 )
...
Having these in opmode will be confusing to users when opmodes are added.
2025-11-08 15:08:38 -08:00
PJ Reiniger
2109161534
SCRIPT: wpiformat
2025-11-07 23:09:21 -08:00
PJ Reiniger
928ff20695
SCRIPT: FRC_ replacements
2025-11-07 23:09:21 -08:00
PJ Reiniger
9aca8e0fd6
SCRIPT namespace replacements
2025-11-07 23:09:21 -08:00
PJ Reiniger
1e7604f81c
SCRIPT: wpiformat
2025-11-07 23:09:21 -08:00
PJ Reiniger
7c6efa41ae
SCRIPT Run cc include replacements
2025-11-07 23:09:21 -08:00
Peter Johnson
cc043df07f
Merge branch 'main' into 2027
2025-11-01 09:39:08 -07:00
Jason Daming
a6a4912a80
[snippets] Add ProfiledPIDController with feedforward snippets ( #8280 )
...
Adds snippets demonstrating ProfiledPIDController usage with
SimpleMotorFeedforward using the two-parameter calculate() method
(currentVelocity, nextVelocity).
These snippets will be used in frc-docs to document the recommended
feedforward pattern with ProfiledPIDController.
Co-authored-by: sciencewhiz <sciencewhiz@users.noreply.github.com >
2025-10-27 20:49:16 -06:00
sciencewhiz
09680072ac
[examples] Add Snippets for Accelerometers using OnboardIMU ( #8087 )
2025-07-20 22:19:14 -07:00
Peter Johnson
a6f601453a
[examples] Fix up merge from main ( #7994 )
2025-05-30 17:36:53 -07:00
Peter Johnson
6c16e846fa
Merge branch 'main' into 2027
2025-05-29 21:41:50 -07:00
sciencewhiz
79a9d7f987
[examples] Add Accelerometer filtering snippets
2025-05-13 22:03:22 -07:00
sciencewhiz
0877d130be
[examples] Add Accelerometer collision detection snippets
2025-05-13 22:03:22 -07:00
sciencewhiz
89555383cc
[examples] Add BuiltInAccelerometer Snippet
2025-05-13 22:03:22 -07:00
sciencewhiz
de315947e9
[examples] Add ADXL 345 and 362 snippets
2025-05-13 22:03:22 -07:00
sciencewhiz
b7cd03adc4
[examples] Add AnalogAccelerometer snippets
...
Delete AnalogAccelerometer comments about sensitivity and zero constants that don't exist
2025-05-13 22:03:22 -07:00
sciencewhiz
55a97f0c11
[examples] Add Analog Potentiometer Snippets ( #7957 )
2025-05-10 07:18:19 -07:00
sciencewhiz
b96264f042
[examples] Misc fixes for snippets ( #7952 )
2025-05-04 00:13:46 -07:00
sciencewhiz
a15152712f
[examples] Add AnalogInput snippets ( #7951 )
2025-05-04 00:13:20 -07:00
sciencewhiz
e63899e63a
[examples] Add snippets for Digital Input article ( #7949 )
2025-05-01 11:40:38 -06:00
sciencewhiz
c49fc29046
[examples] Add Limit Switch snippets ( #7946 )
2025-04-29 08:42:32 -06:00
sciencewhiz
659710a79a
[examples] Add remaining Encoder snippets ( #7936 )
2025-04-28 16:25:49 -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