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
Gold856
305a0657e2
[cscore] Deprecate AxisCamera ( #6579 )
2024-05-12 10:28:51 -07:00
Tyler Veness
5359112b15
[wpimath] Deprecate RamseteController ( #6494 )
...
LTVUnicycleController is a drop-in replacement with better tuning knobs.
The RamseteCommand examples were removed instead of retrofitted with
LTVUnicycleController because we're planning on removing the command
controller classes anyway, so it would be wasted effort. The
SimpleDifferentialDriveSimulation example shows direct
LTVUnicycleController usage.
2024-04-29 22:01:42 -07:00
Eli Barnett
707cb06105
[wpilib] Add SysIdRoutine logging utility and command factory ( #6033 )
...
Co-authored-by: Drew Williams <williams.r.drew@gmail.com >
Co-authored-by: Peter Johnson <johnson.peter@gmail.com >
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2024-01-05 11:50:23 -08:00
Thad House
04dcd80adb
[build] Publish unit tests for examples ( #5838 )
2023-10-27 16:57:38 -07:00
Jordan McMichael
ecb7cfa9ef
[wpimath] Add Exponential motion profile ( #5720 )
2023-10-19 17:26:32 -07:00
Zhiquan Yeo
fb07b0da49
[examples] Add XRP C++ Examples and Templates ( #5743 )
2023-10-09 16:55:54 -07:00
Zhiquan Yeo
51dcb8b55a
[examples] Make Romi/XRP Examples use appropriate vendordeps ( #5665 )
2023-09-18 19:42:10 -07:00
m10653
e2c190487b
[examples] Add flywheel bang-bang controller example ( #4071 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2023-08-05 14:15:05 -07:00
Starlight220
fffe6a7b9a
[examples] Improve Pneumatics example coverage in Solenoid and RapidReactCmdBot examples ( #4998 )
2023-07-03 21:23:18 -07:00
Starlight220
5483464158
[examples, templates] Improve descriptions (NFC) ( #5051 )
2023-02-12 06:49:20 -08:00
Michael Leong
08a536291b
[examples] Improvements to Elevator Simulation Example ( #4937 )
...
Co-authored-by: Abhay Shukla <105139789+aboombadev@users.noreply.github.com >
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
Co-authored-by: Ryan Blue <ryanzblue@gmail.com >
2023-02-03 15:23:06 -08:00
Starlight220
2f96cae31a
[examples] Hatchbots: Add telemetry ( #5011 )
2023-01-31 23:44:18 -08:00
Starlight220
522be348f4
[examples] Rewrite tags (NFC) ( #4961 )
2023-01-21 15:24:10 -08:00
Starlight220
bd6479dc29
[build] Add Spotless for JSON ( #4956 )
2023-01-16 08:26:46 -08:00
Doug Wegscheid
cf1a411acf
[examples] Add example programs for AprilTags detection ( #4932 )
...
Co-authored-by: Peter Johnson <johnson.peter@gmail.com >
2023-01-13 23:08:45 -08:00
Starlight220
2cd9be413f
[wpilib, examples] Cleanup PotentiometerPID, Ultrasonic, UltrasonicPID examples ( #4893 )
...
Fix C++ Ultrasonic to return correct units.
2023-01-08 16:33:07 -08:00
Starlight220
4534e75787
[examples] Remove redundant MotorControl example ( #4837 )
...
The MotorControlEncoder had the exact same content, with the addition of an encoder. No point in having both examples.
2022-12-26 11:27:20 -08:00
Starlight220
66bb0ffb2c
[examples] Add unit testing infrastructure ( #4646 )
2022-12-02 08:40:14 -08:00
Eli Barnett
1a59737f40
[commands] Add convenience factories ( #4460 )
...
Co-authored-by: Starlight220 <53231611+Starlight220@users.noreply.github.com >
2022-11-28 07:41:25 -08:00
Starlight220
45b7fc445b
[wpilib] Add EventLoop ( #4104 )
...
This is a generic expansion of the command-based Trigger framework.
2022-06-08 22:16:51 -07:00
sciencewhiz
a26df2a022
[examples] Update ArmSimulation example to use Preferences ( #3976 )
...
This shows more real world usage then hardcoding the setpoint and PID
gains. There were no current examples using Preferences. This will also
be used to update frc-docs article for Preferences.
2022-01-31 00:17:04 -08:00
Starlight220
269cf03472
[examples] Add communication examples (e.g. arduino) ( #2500 )
...
Co-authored-by: Andrew Dassonville <dassonville.andrew@gmail.com >
2022-01-06 18:08:57 -08:00
Prateek Machiraju
67df469c58
[examples] Remove old command-based templates and examples ( #3263 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2021-10-13 19:17:58 -07:00
sciencewhiz
50198ffcf1
[examples] Add Mechanism2d visualization to Elevator Sim ( #3587 )
2021-09-18 22:06:14 -07:00
sciencewhiz
a446c25598
[examples] Synchronize C++ and Java Mechanism2d examples ( #3589 )
...
- Synchronize dimensions
- Make both joints different colors for clarity
2021-09-18 22:05:35 -07:00
sciencewhiz
4f5e0c9f85
[examples] Update ArmSimulation example to use Mechanism2d ( #3572 )
...
- Correct several comments that referenced elevator
- Changed noise to be 1 encoder tick instead of half a degree
- Changed gear ratio and PID value to be better tuned
- Updated bounds to be similar to a single jointed arm
2021-09-17 22:55:31 -07:00
Aditya Tomar
85748f2e6f
[examples] Add C++ TankDrive example ( #3493 )
...
This is a basic C++ example that demonstrates a simple differential drive implementation using “tank”-style controls through the DifferentialDrive class and an ordinary joystick.
2021-07-28 21:52:14 -07:00
Starlight220
ff52f207cc
[glass, wpilib] Rewrite Mechanism2d ( #3281 )
...
Substantially improves Mechanism2d by moving it to NetworkTables and adding
a robot API to create the mechanism elements, instead of requiring a JSON file.
Co-authored-by: Peter Johnson <johnson.peter@gmail.com >
2021-04-30 13:43:59 -07:00
Starlight220
e1620799c7
[examples] Add C++ RomiReference example ( #2969 )
...
Co-authored-by: Prateek Machiraju <prateek.machiraju@gmail.com >
Co-authored-by: sciencewhiz <sciencewhiz@users.noreply.github.com >
2020-12-31 20:37:20 -08:00
Prateek Machiraju
558e37c412
[examples] Add simple differential drive simulation example ( #2918 )
...
This provides an example of using the differential drive simulator without needing to use the command-based library.
2020-12-07 22:32:42 -08:00
Declan Freeman-Gleason
bc8f338771
[wpilib] Add pose estimators ( #2867 )
...
Pose and state estimators can filter latency-compensated global measurements and fuse them with state-space drivetrain model information to estimate robot position. They are drop-in replacements for the existing odometry classes.
Co-authored-by: Declan Freeman-Gleason <declanfreemangleason@gmail.com >
Co-authored-by: Prateek Machiraju <prateek.machiraju@gmail.com >
Co-authored-by: Claudius Tewari <cttewari@gmail.com >
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2020-11-28 14:35:35 -08:00
Prateek Machiraju
50050a0e53
[wpilibc] Update C++ DiffDriveSim example to match Java ( #2839 )
2020-11-13 11:12:03 -08:00
sciencewhiz
5c2dc043cd
[wpilib] Update examples to export NewCommands ( #2841 )
...
Update all examples to export NewCommands vendor dep except for pacgoat,
which still uses old commands.
2020-11-11 22:36:18 -08:00
sciencewhiz
24a3c12f31
[wpilib] Fix names and descriptions of examples ( #2846 )
2020-11-11 22:35:28 -08:00
Matt
b61f08d3fa
[wpilib] Add physics simulation support with state-space ( #2615 )
...
This includes physics simulation support for arms/elevator models, as well as differential drivetrains.
Swerve might be added at a later date.
Co-authored-by: Claudius Tewari <cttewari@gmail.com >
Co-authored-by: Prateek Machiraju <prateek.machiraju@gmail.com >
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2020-09-20 09:39:52 -07:00
sciencewhiz
3e41d92c18
[wpilib] Use misspell to fix spelling errors (NFC) ( #2674 )
2020-08-31 00:33:11 -07:00
Matt
3b283ab9aa
[wpimath] Add core State-space classes ( #2614 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
Co-authored-by: Claudius Tewari <cttewari@gmail.com >
Co-authored-by: Declan Freeman-Gleason <declanfreemangleason@gmail.com >
2020-08-14 23:40:33 -07:00
Prateek Machiraju
a1d2d40ad3
[wpilib] Add RamseteController examples ( #2553 )
...
This is different from the RamseteCommand examples in that they don't use the command-based library.
2020-07-03 21:59:42 -07:00
sciencewhiz
ce1ac17dfb
Remove experimental from new command example descriptions ( #2226 )
2020-01-04 19:57:31 -08:00
Oblarg
ccdd0fbdb2
Add TrapezoidProfile external PID examples ( #2131 )
2019-12-07 13:37:54 -08:00
Oblarg
e0bc97f66b
Add ProfiledPIDSubsystem example ( #2076 )
2019-11-21 20:55:16 -08:00
CTT
a58dbec8aa
Add holonomic follower examples ( #2052 )
2019-11-21 19:52:56 -08:00
Thad House
500c43fb84
Add examples for DMA, DutyCycle, DutyCycleEncoder and AddressableLED ( #2100 )
2019-11-18 22:12:17 -08:00
CTT
486fa9c696
Add XboxController examples for arcade and tank drive ( #2058 )
2019-11-10 22:53:17 -08:00
Thad House
629e95776a
Add VendorDeps JSON files for command libraries ( #2048 )
...
Add commandversion flag to the examples and templates json files.
2019-11-07 17:38:07 -08:00
Thad House
916596cb01
Fix invalid examples json, add validator ( #2001 )
2019-10-28 20:10:05 -07:00
Oblarg
75438ab2ce
Add RamseteCommand ( #1951 )
2019-10-26 21:33:41 -07:00
Peter Johnson
b3398dca39
Set gradlebase correctly for all examples ( #1950 )
2019-10-18 11:39:31 -07:00
Prateek Machiraju
f405582f86
Add kinematics suite ( #1787 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
Co-authored-by: Matt <matthew.morley.ca@gmail.com >
2019-09-07 23:11:49 -05:00