Starlight220
66bb0ffb2c
[examples] Add unit testing infrastructure ( #4646 )
2022-12-02 08:40:14 -08:00
Tyler Veness
74cc86c4c5
[wpimath] Make transform tests use pose/transform equality operators ( #4675 )
...
Also add more nonzeros to Transform3d tests to make them more
comprehensive.
2022-12-02 08:36:57 -08:00
Jordan McMichael
e22d8cc343
[wpimath] Use Odometry for internal state in Pose Estimation ( #4668 )
...
This effectively replaces the Unscented Kalman Filter used for Pose Estimation with the Odometry model, and uses a recalculable Kalman gain matrix to update pose estimations whenever a vision measurement is added.
Notably, this change removes the need for the confusing generics used in Java, and the C++ implementation got quite a bit less complex as well.
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2022-12-02 08:36:10 -08:00
Ryan Blue
68dba92630
[ci] Update mac and windows builds to Java 17 ( #4750 )
2022-12-02 08:31:38 -08:00
Tyler Veness
23bfc2d9ab
[sim] Remove unmaintained Gazebo support ( #4736 )
2022-12-01 20:46:47 -08:00
Starlight220
1f1461e254
[wpilib] Add method to enable/disable LiveWindow in test mode ( #4678 )
2022-12-01 13:28:06 -08:00
Tyler Veness
eae68fc165
[wpimath] Add tolerance for Rotation3d rotation matrix special orthogonality ( #4744 )
2022-11-30 19:51:31 -08:00
Tyler Veness
4c4545fb4b
[apriltag] Suppress warning ( #4743 )
2022-11-30 19:51:18 -08:00
Tyler Veness
16ffaa754d
[docs] Generate docs for apriltag subproject ( #4745 )
2022-11-30 19:50:52 -08:00
Thad House
5e74ff26d8
[apriltag, build] Update native utils, add apriltag impl and JNI ( #4733 )
...
Co-authored-by: Peter Johnson <johnson.peter@gmail.com >
2022-11-30 00:16:29 -08:00
Dustin Spicuzza
53875419a1
[hal] Allow overriding stderr printing by HAL_SendError ( #4742 )
2022-11-29 23:19:15 -08:00
Peter Johnson
aa6499e920
[ntcore] Fix special topic multi-subscriber handling ( #4740 )
...
It now matches server behavior, where "" doesn't match special topics.
Also fixes duplicate notification that could occur in some cases.
2022-11-29 21:58:57 -08:00
Peter Johnson
df70351107
[build] Fix cmake install of thirdparty includes ( #4741 )
2022-11-29 21:58:38 -08:00
Peter Johnson
e9bd50ff9b
[glass] NT view: clear meta-topic info on disconnect ( #4732 )
2022-11-29 21:57:48 -08:00
Peter Johnson
9b319fd56b
[ntcore] Add sub option for local vs remote changes ( #4731 )
...
This is the subscriber readQueue version of the local value listener flag.
2022-11-29 21:57:20 -08:00
Peter Johnson
18d28ec5e3
[ntcore] Remove duplicate value checking from ClientImpl
...
This is no longer required with the duplicate value checking in
LocalStorage.
2022-11-29 09:49:47 -08:00
Peter Johnson
bdfb625211
[ntcore] Send duplicate values to network if necessary
...
Essentially this separates duplicate value detection between network and
local.
2022-11-29 09:49:47 -08:00
Ryan Blue
21003e34eb
[commands] Update Subsystem factories and example to return CommandBase ( #4729 )
...
Also update rapidreactcommandbot example factories to fit this convention (as in #4655 ).
C++ does not need an update as CommandPtr already uses CommandBase (#4677 ).
2022-11-28 19:47:18 -08:00
Starlight220
70080457d5
[commands] Refactor ProxyScheduleCommand, SelectCommand into ProxyCommand ( #4534 )
2022-11-28 14:43:10 -08:00
Colin Wong
e82cd5147b
[wpilib] Tweak Color HSV formula and use in AddressableLED ( #4724 )
...
The Color algorithm was tweaked to:
a) not produce incorrect values if the user happens to input a hue outside the [0, 180) range, and
b) more accurately convert the hue remainder from range 0-30 to 0-255. The current conversion vastly overshoots the multiplier (converts 0-30 to 0-270) and relies on clamping the value when constructing the Color object to produce a slightly incorrect result.
2022-11-28 14:42:22 -08:00
Colin Wong
ec124bb662
[commands] Allow unsetting a subsystem's default command ( #4621 )
2022-11-28 14:03:14 -08:00
Ryan Blue
2b2aa8eef7
[examples] Update all examples to use NWU coordinate conventions ( #4725 )
2022-11-28 13:49:49 -08:00
Starlight220
cb38bacfe8
[commands] Revert to original Trigger implementation ( #4673 )
...
Trigger was refactored to use BooleanEvent when it was introduced in #4104 .
This reverts to the original implementation until edge-based BooleanEvents can be fixed.
2022-11-28 13:48:48 -08:00
Starlight220
15561338d5
[commands] Remove one more default command isFinished check ( #4727 )
2022-11-28 13:44:37 -08:00
Ryan Blue
ca35a2e097
Add simgui files to .gitignore ( #4726 )
2022-11-28 08:57:57 -08:00
Starlight220
20dbae0cee
[examples] Renovate command-based examples ( #4409 )
...
Refactor some examples to use newer features, such as HID factories, library-provided command factories, CommandPtr (C++), as well as new idioms such as static/instance command factories.
2022-11-28 08:55:13 -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
Tyler Veness
42b6d4e3f7
Use defaulted comparison operators in C++ ( #4723 )
...
Comparison operators which compared against every class member variable
now use C++20's default comparison operators.
Also remove operator!= that in C++20 is now auto-generated from operator==.
2022-11-27 21:01:01 -08:00
Peter Johnson
135c13958f
[wpigui] Add FontAwesome ( #4713 )
2022-11-27 20:00:17 -08:00
Peter Johnson
ffbfc61532
[ntcore] Add NetworkTable table-specific listeners ( #4640 )
...
These are similar, but not quite identical to, the NT3 NetworkTable
table listeners.
Also add table topic-only multi-subscriber to ensure functions like
getKeys() work properly regardless of other subscriptions.
2022-11-27 19:46:34 -08:00
Starlight220
8958b2a4da
[commands] Add property tests for command compositions ( #4715 )
2022-11-27 16:23:56 -08:00
Starlight220
e4ac09077c
[wpilib] Add link to MotorSafety article ( #4720 )
2022-11-27 16:23:06 -08:00
Starlight220
f40de0c120
[commands] Add C++ factory templates ( #4686 )
2022-11-27 11:27:44 -08:00
Peter Johnson
51fa3e851f
[build] cmake: Use FetchContent instead of ExternalProject ( #4714 )
...
Also switch to using thirdparty-fonts instead of generating them.
2022-11-26 23:05:41 -08:00
Peter Johnson
1da84b2255
[wpigui] Reload fonts to scale rather than preloading ( #4712 )
2022-11-26 22:30:38 -08:00
Peter Johnson
e43e2fbc84
[wpiutil] StringExtras: Add UnescapeCString ( #4707 )
...
Based on implementation in glass but enhanced for generic use.
2022-11-26 18:21:45 -08:00
Peter Johnson
5804d8fa84
[ntcore] Server: Properly handle multiple subscribers ( #4717 )
...
Previously, only the first subscriber was actually matched to a topic
when a topic was created; this was a problem when later publishing
values as a client could have both a topic-only subscriber and a normal
subscriber, and only the first one would end up being subscribed to the
topic.
2022-11-26 17:02:22 -08:00
Peter Johnson
169ef5fabf
[glass] Update NT view for topicsOnly and sendAll changes ( #4718 )
2022-11-26 17:01:40 -08:00
Starlight220
148759ef54
[examples] CANPDP: Expand properties shown ( #4687 )
2022-11-25 23:51:15 -08:00
Starlight220
58ed112b51
[commands] RepeatCommand: restart on following iteration ( #4706 )
...
This fixes InstantCommand.repeatedly().
2022-11-25 23:50:42 -08:00
Ryan Blue
dd1da77d20
[readme] Fix broken CI badge ( #4710 )
2022-11-25 23:49:47 -08:00
Ryan Blue
7cda85df20
[build] Check Gradle plugin repo last to fix CI ( #4711 )
2022-11-25 23:48:18 -08:00
Thad House
7ed9b13277
[build] Bump version plugin to fix null tag ( #4705 )
2022-11-24 22:10:59 -08:00
Tyler Veness
6b4f26225d
[apriltag] Fix pluralization of apriltag artifacts ( #4671 )
2022-11-24 09:06:38 -08:00
Peter Johnson
b2d2924b72
[cscore] Add Y16 image support ( #4702 )
2022-11-24 09:06:06 -08:00
Peter Johnson
34ec89c041
[wpilibc] Shuffleboard SimpleWidget: Return pointer instead of reference ( #4703 )
...
Based on beta test feedback, returning a pointer is more intuitive, as
typically the return value is late bound to an instance variable.
2022-11-24 09:05:37 -08:00
Peter Johnson
e15200068d
[ci] Disable HW testbench runs ( #4704 )
...
These are currently broken with no timetable to fix.
2022-11-24 09:04:57 -08:00
Starlight220
d5200db6cd
[wpimath] Rename HolonomicDriveController.calculate params ( #4683 )
2022-11-23 23:13:50 -08:00
Tyler Veness
2ee3d86de4
[wpimath] Clarify Rotation3d roll-pitch-yaw direction ( #4699 )
2022-11-23 23:12:59 -08:00
Peter Johnson
9f0a8b930f
[cscore] Use MFVideoFormat_L8 for Gray on Windows ( #4701 )
2022-11-23 22:15:56 -08:00