Prateek Machiraju
be0ce99007
[examples] Use PWMSparkMax instead of PWMVictorSPX ( #3156 )
...
This accurately reflects the motor controllers that are distributed in
the Kit of Parts.
2021-02-12 22:14:56 -08:00
Prateek Machiraju
8651aa73e8
[examples] Enable NT Flush in Field2d examples ( #3013 )
2020-12-30 16:12:15 -08:00
Peter Johnson
2aed432b4b
Add braces to C++ single-line loops and conditionals (NFC) ( #2973 )
...
This makes code easier to read and more consistent between C++ and Java.
Also update clang-format settings to always add a line break (even if no braces are used).
2020-12-28 12:58:06 -08: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
Prateek Machiraju
65219f3093
[examples] Update Field2d position in periodic() ( #2928 )
...
This ensures that the robot position will be updated in dashboards like Glass when running on real hardware.
2020-12-10 20:36: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