From 415720be0cd2770b9393cd36e0933c243d6449e6 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Tue, 19 Nov 2024 20:03:09 -0800 Subject: [PATCH 1/3] Update Changelog for Beta 2 --- .../docs/yearly-overview/yearly-changelog.rst | 42 +++++++++++++++++-- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/source/docs/yearly-overview/yearly-changelog.rst b/source/docs/yearly-overview/yearly-changelog.rst index 720fcf5a48..e8eaf73892 100644 --- a/source/docs/yearly-overview/yearly-changelog.rst +++ b/source/docs/yearly-overview/yearly-changelog.rst @@ -34,7 +34,6 @@ Supported Operating Systems and Architectures: ### General Library -- The units library has been refactored to have unit-specific measurement classes instead of a single generic ``Measure`` class. The new measurement classes have clearer names (``Distance`` instead of ``Measure``, or ``LinearAcceleration`` instead of ``Measure>>``), and implement math operations to return the most specific result types possible instead of a wildcard ``Measure``. - Add persistent alerts API. Alerts are displayed on supported dashboards such as Shuffleboard and Elastic. - Add LED pattern API for easily animating addressable LEDs - Breaking: Remove deprecated ``Gyro`` and ``Accelerometer`` interface @@ -45,6 +44,9 @@ Supported Operating Systems and Architectures: - Implement ``Sendable`` for HID classes - Include sendable type information in topic metadata - ``GenericHID.setRumble``: Fix Java integer overflow +- rename SysId example to SysIdRoutine +- Add ``Timer.isRunning`` method +- Add Java unit support for RobotController #### Commands @@ -67,6 +69,7 @@ Supported Operating Systems and Architectures: - Server round robin message processing - Client: only connect to IPv4 addresses - Deprecate setNetworkTablesFlushEnabled +- Set NetworkTables 3 client network identity #### Data Logging @@ -74,6 +77,7 @@ Supported Operating Systems and Architectures: - Logging the console can be enabled with ``DatalogManager.logConsoleOutput`` - DataLog: Add last value and change detection - DataLogManager: Fix behavior when low on space +- Epilogue: Autogenerate nicer data names by default, not just raw element names #### Hardware interfaces @@ -113,6 +117,11 @@ Supported Operating Systems and Architectures: - Add geometry classes for ``Rectangle2d`` and ``Ellipse2d`` - Add reset methods to ``Odometry`` and ``PoseEstimator`` - Add ArmFeedforward calculate() overload that takes current and next velocity instead of acceleration +- Fix C++ pose estimator poseEstimate initialization +- ChassisSpeeds fromRelative and discretize methods made instance methods +- Fix PIDController error tolerance getters +- Add time-varying RKDP +- Add 2D to 3D geometry constructors ### Simulation @@ -122,11 +131,27 @@ Supported Operating Systems and Architectures: - Fix interrupt edges being flipped in sim - Don't send joystick data during auto - Initialize DIO to true in sim +- Clamp battery voltage to 0 ### Romi/XRP - XRP: Add ``GetRotation2d`` to ``Gyro`` - XRP: Add Support for Encoder Period +- Add Getter for XRP LED state + +### Java units + +- The units library has been refactored to have unit-specific measurement classes instead of a single generic ``Measure`` class. The new measurement classes have clearer names (``Distance`` instead of ``Measure``, or ``LinearAcceleration`` instead of ``Measure>>``), and implement math operations to return the most specific result types possible instead of a wildcard ``Measure``. +- Add resistance units +- Use div instead of divide +- Add absolute value and copy sign functionalit + +### CameraServer + +- Wake up even if no frames received +- Fix wakeup on sink destruction +- HttpCamera: Send width/height/fps stream settings +- HttpCamera: Auto-detect mode from stream if not set ### Util @@ -160,12 +185,15 @@ Supported Operating Systems and Architectures: - Save input after clicking away - Check for struct descriptor size 0 +- Align Field2d border and image padding for custom images +- Add Alerts widget ## GradleRIO -- Use Gradle 8.10.2 +- Use Gradle 8.11 - Use shell scripts for launching tools on Linux / macOS, since macOS doesn't ship Python any more - Add method to delete files on roboRIO that have been deleted in the deploy directory. :ref:`Set deleteOldFiles to true ` in the frcStaticFileDeploy block +- Gradle now consolidates Java compile errors at the bottom of the terminal to aid discoverability https://docs.gradle.org/8.11/release-notes.html#error-warning ## WPILib All in One Installer @@ -175,13 +203,16 @@ Supported Operating Systems and Architectures: - Only install scripts if they are used by a specific platform - Make shortcuts use the app icon - Add AppArmor file for electron apps for Ubuntu 24.04 -- Fix icon in dock on Ubuntu 24.04 ## Visual Studio Code Extension - Add :doc:`Dependency Manager extension ` for easier finding and updating of 3rd party libraries - Add gradle clean command - Use shell scripts for launching tools on Linux / macOS, since macOS doesn't ship Python any more +- Add option to importer to import XRP project +- Importer: Update for Java Units changes +- Extract WPILib Utility on mac +- Define java.configuration.runtimes in settings.json to ensure WPILib JDK is used ## RobotBuilder @@ -191,6 +222,7 @@ Supported Operating Systems and Architectures: - Fix crash when all data is filtered out during analysis - Remove obsolete WPILib & CTRE presets, rename CTRE presets +- Clamp feedback measurement delay to zero or higher ## PathWeaver @@ -203,3 +235,7 @@ Supported Operating Systems and Architectures: ## Choreo Choreo is bundled in the installer! Choreo is an application for creating time optimal autonomous trajectories. :doc:`Read more here `. + +## Elastic + +Elastic is bundled in the installer! Elastic is a simple and modern dashboard. From b380d884ce7dbe694d93750ce880fdf92c6771f3 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Thu, 21 Nov 2024 16:07:23 -0800 Subject: [PATCH 2/3] Update source/docs/yearly-overview/yearly-changelog.rst Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com> --- source/docs/yearly-overview/yearly-changelog.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/yearly-overview/yearly-changelog.rst b/source/docs/yearly-overview/yearly-changelog.rst index e8eaf73892..8755ef59d0 100644 --- a/source/docs/yearly-overview/yearly-changelog.rst +++ b/source/docs/yearly-overview/yearly-changelog.rst @@ -144,7 +144,7 @@ Supported Operating Systems and Architectures: - The units library has been refactored to have unit-specific measurement classes instead of a single generic ``Measure`` class. The new measurement classes have clearer names (``Distance`` instead of ``Measure``, or ``LinearAcceleration`` instead of ``Measure>>``), and implement math operations to return the most specific result types possible instead of a wildcard ``Measure``. - Add resistance units - Use div instead of divide -- Add absolute value and copy sign functionalit +- Add absolute value and copy sign functionality ### CameraServer From 4bd0c4e2c8f0fc51297bc4ea7640db84e30f0009 Mon Sep 17 00:00:00 2001 From: sciencewhiz Date: Thu, 21 Nov 2024 16:07:41 -0800 Subject: [PATCH 3/3] Update source/docs/yearly-overview/yearly-changelog.rst Co-authored-by: Gold856 <117957790+Gold856@users.noreply.github.com> --- source/docs/yearly-overview/yearly-changelog.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/yearly-overview/yearly-changelog.rst b/source/docs/yearly-overview/yearly-changelog.rst index 8755ef59d0..b581f75e71 100644 --- a/source/docs/yearly-overview/yearly-changelog.rst +++ b/source/docs/yearly-overview/yearly-changelog.rst @@ -44,7 +44,7 @@ Supported Operating Systems and Architectures: - Implement ``Sendable`` for HID classes - Include sendable type information in topic metadata - ``GenericHID.setRumble``: Fix Java integer overflow -- rename SysId example to SysIdRoutine +- Rename SysId example to SysIdRoutine - Add ``Timer.isRunning`` method - Add Java unit support for RobotController