Tyler Veness
f656e99245
[readme] Add links to development build documentation ( #4481 )
...
* Add links to development build documentation
* Use GitHub dev docs links in readme badges
2022-11-14 14:23:47 -08:00
Starlight220
6dd937cef7
[commands] Fix Trigger API docs (NFC) ( #4599 )
2022-11-14 14:21:35 -08:00
Starlight220
49047c85b9
[commands] Report error on C++ CommandPtr use-after-move ( #4575 )
2022-11-14 14:20:52 -08:00
Tyler Veness
d07267fed1
[ci] Upgrade containers to Ubuntu 22.04 and remove libclang installation ( #4633 )
2022-11-14 14:20:08 -08:00
Thad House
b53ce1d3f0
[build, wpiutil] Switch macos to universal binaries ( #4628 )
2022-11-14 10:36:33 -08:00
Ege Akman
5a320c326b
[upstream_util, wpiutil] Refactor python scripts ( #4614 )
...
Co-authored-by: Sourcery AI <>
Co-authored-by: Vasista Vovveti <vasistavovveti@gmail.com >
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com >
2022-11-13 23:11:54 -08:00
Peter Johnson
c4e526d315
[glass] Fix NT Mechanism2D ( #4626 )
2022-11-13 23:09:23 -08:00
Ryan Blue
d122e4254f
[ci] Run spotlessApply after wpiformat in comment command ( #4623 )
2022-11-13 14:07:26 -08:00
Peter Johnson
5a1e7ea036
[wpilibj] FieldObject2d: Add null check to close() ( #4619 )
2022-11-12 16:51:41 -08:00
Peter Johnson
179f569113
[ntcore] Notify locally on SetDefault ( #4617 )
...
This is necessary for the simulation GUI to pick up default publishes.
2022-11-12 06:33:10 -08:00
Peter Johnson
b0f6dc199d
[wpilibc] ShuffleboardComponent.WithProperties: Update type ( #4615 )
...
ShuffleboardComponentBase::m_properties is now a StringMap<nt::Value>.
2022-11-11 15:08:05 -08:00
Tyler Veness
7836f661cd
[wpimath] Add missing open curly brace to units/base.h ( #4613 )
2022-11-11 13:06:42 -08:00
CarloWoolsey
dbcc1de37f
[wpimath] Add DifferentialDriveFeedforward classes which wrap LinearPlantInversionFeedforward ( #4598 )
...
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
2022-11-10 16:54:51 -08:00
Cory
93890c528b
[wpimath] Add additional angular acceleration units ( #4610 )
...
Added Turns per second squared
Added Revolutions per minute squared
Added Revolutions per minute per second
2022-11-10 16:47:55 -08:00
Tyler Veness
3d8d5936f9
[wpimath] Add macro for disabling units fmt support ( #4609 )
2022-11-10 14:12:07 -08:00
Tyler Veness
2b04159dec
[wpimath] Update units/base.h license header ( #4608 )
2022-11-10 14:11:44 -08:00
Thad House
2764004fad
[wpinet] Fix incorrect jni definitions ( #4605 )
...
Also re-enables the check task that would have caught this.
2022-11-10 09:42:02 -08:00
Thad House
85f1bb8f2b
[wpiutil] Reenable jni check task ( #4606 )
...
New option was added to JNI plugin to allow skipping specific symbols. This let us generally reenable the check task in wpiutil.
2022-11-10 09:33:26 -08:00
ohowe
231ae2c353
[glass] Plot: Fix Y-axis not being saved ( #4594 )
2022-11-08 21:33:02 -08:00
Tyler Veness
e92b6dd5f9
[wpilib] Fix AprilTagFieldLayout JSON property name typos ( #4597 )
2022-11-08 13:27:21 -08:00
Thad House
2a8e0e1cc8
Update all dependencies that use grgit ( #4596 )
2022-11-08 10:20:16 -08:00
Starlight220
7d06e517e9
[commands] Move SelectCommand factory impl to header ( #4581 )
...
It's templated, so it needs to be in the header.
2022-11-07 15:49:36 -08:00
Tyler Veness
323524fed6
[wpimath] Remove deprecated units/units.h header ( #4572 )
2022-11-07 10:18:36 -08:00
Starlight220
d426873ed1
[commands] Add missing PS4 triangle methods ( #4576 )
2022-11-07 10:15:54 -08:00
PJ Reiniger
5be5869b2f
[apriltags] Use map as internal data model ( #4577 )
...
This leaves the file format as a list, but internally will transform the collection of tags into a map on de/serialization. The serialization will probably happen once on startup, but the tag lookup can happen 100s of times a second. This honestly probably doesn't make too much of a performance hit since N is small, but this is a simple O(n) -> O(1) change for lookups.
2022-11-07 10:09:06 -08:00
Griffin Della Grotte
b1b4c1e9e7
[wpimath] Fix Pose3d transformBy rotation type ( #4545 )
...
Co-authored-by: Ryan Blue <ryanzblue@gmail.com >
2022-11-07 09:57:33 -08:00
Dustin Spicuzza
a4054d702f
[commands] Allow composing two triggers directly ( #4580 )
...
For backwards compatibility reasons.
2022-11-07 09:55:28 -08:00
Dustin Spicuzza
0190301e09
[wpilibc] Explicitly mark EventLoop as non-copyable/non-movable ( #4579 )
...
It's already not movable because m_bindings isn't copyable, but pybind11
isn't able to detect that
2022-11-07 09:30:03 -08:00
Peter Johnson
9d1ce6a6d9
[ntcore] Catch file open error when saving preferences ( #4571 )
2022-11-05 21:16:39 -07:00
Peter Johnson
5005e2ca04
[ntcore] Change Java event mask to EnumSet ( #4564 )
...
Also convert NetworkTableInstance.getNetworkMode() to return EnumSet.
v2023.1.1-beta-3
2022-11-04 20:25:37 -07:00
PJ Reiniger
fa44a07938
[upstream-utils][mpack] Add upstream util for mpack ( #4500 )
2022-11-04 20:03:49 -07:00
Peter Johnson
4ba16db645
[ntcore] Various fixes and cleanups ( #4544 )
...
* NetworkTableInstance: set handle to 0 after destroy
* Fix multiple notifications of local values
* Detect mismatch between handles
* Server: fix setting min period when no topics
* Limit maximum number of subscribers/publishers/listeners
This helps find resource leaks and prevents them from causing excessive
slowdowns/crashes. The limit on each is currently set to 512.
* Don't use std::swap in move operation
2022-11-04 20:01:21 -07:00
Thad House
837415abfd
[hal] Fix joysticks either crashing or returning 0 ( #4570 )
2022-11-04 19:03:11 -07:00
amquake
2c20fd0d09
[wpilib] SingleJointedArmSim: Check angle equals limit on wouldHit ( #4567 )
2022-11-04 17:14:46 -07:00
Alex Ryker
64a7136e08
[wpimath] SwerveDrivePoseEstimator: Restore comment about encoder reset ( #4569 )
2022-11-04 15:03:49 -07:00
Brennen Puth
b2b473b24a
[wpilib] Add AprilTag and AprilTagFieldLayout ( #4421 )
...
This is an API for looking up a Pose3d from a tag id, and includes functionality to load that map from a JSON file.
This also adds JSON support to Pose3d, Rotation3d. Translation3d, and Quaternion.
Co-authored-by: Tyler Veness <calcmogul@gmail.com >
Co-authored-by: AMereBagatelle <themerebagatelle@gmail.com >
2022-11-04 09:56:22 -07:00
Thad House
7aab8fa93a
[build] Update to Native Utils 2023.6.0 ( #4563 )
2022-11-03 20:57:04 -07:00
Starlight220
12c2851856
[commands] WrapperCommand: inherit from CommandBase ( #4561 )
...
This makes WrapperCommand Sendable.
Only Java had this issue.
2022-11-03 06:27:23 -07:00
Tyler Veness
0da169dd84
[wpimath] Remove template argument from ElevatorFeedforward ( #4554 )
2022-11-02 22:54:32 -07:00
Tyler Veness
2416827c25
[wpimath] Fix docs for pose estimator local measurement models ( #4558 )
2022-11-02 22:53:21 -07:00
Michael Jansen
1177a3522e
[wpilib] Fix Xbox/PS4 POV sim for port number constructors ( #4548 )
2022-11-02 22:52:26 -07:00
ohowe
102344e27a
[commands] HID classes: Add missing methods, tweak return types ( #4557 )
...
- Make return type of getHID reflect the specific class
- Add getX and getY to CommandJoystick
2022-11-02 22:51:53 -07:00
Peter Johnson
1831ef3e19
[wpilib] Fix Shuffleboard SuppliedValueWidget ( #4559 )
...
It was creating duplicate publishers.
2022-11-02 22:49:52 -07:00
Starlight220
a9606ce870
[wpilib] Fix Xbox/PS4 POV sim ( #4546 )
2022-11-02 10:52:15 -07:00
Tyler Veness
6c80d5eab3
[wpimath] Remove unused SymbolExports.h include from units/base.h ( #4541 )
2022-11-01 17:18:24 -07:00
Peter Johnson
b114006543
[ntcore] Unify listeners ( #4536 )
...
This combines all 4 NT listener APIs (topic, value, connection, and
logging) into a single unified listener API.
v2023.1.1-beta-2
2022-10-31 21:52:14 -07:00
Peter Johnson
32fbfb7da6
[build] cmake: Install ntcore generated include files ( #4540 )
2022-10-31 21:45:24 -07:00
Thad House
02465920fb
[build] Update native utils to 2023.4.0 ( #4539 )
...
This has some decent changes to the toolchain plugin, so allwpilib is a great way to make sure nothing breaks.
2022-10-31 19:17:42 -07:00
David K Turner
3a5a376465
[wpimath] Increase constexpr support in geometry data types ( #4231 )
...
This uses std::is_constant_evaluated() to conditionally use the gcem library for constexpr calculations.
2022-10-31 09:17:00 -07:00
Peter Johnson
1c3c86e9f1
[ntcore] Cache GetEntry(name) values ( #4531 )
...
These are typically cached at higher levels anyway, but cache at lowest
C++ layer as well for consistency with NT3.
2022-10-27 23:34:58 -07:00