AdvantageKit

Logging & replay framework for FRC

GPL-3.0 License

Stars
156

Bot releases are hidden (Show)

AdvantageKit - v2.1.1

Published by jwbonner almost 2 years ago

  • Updated to WPILib 2023.2.1
  • Shimmed TimedRobot and TimesliceRobot to prevent subclassing (#31)

Based on WPILib 2023.2.1

AdvantageKit - v2.1.0

Published by jwbonner almost 2 years ago

Adds support for logging Mechanism2d states as outputs using the method below. They can be visualized using AdvantageScope v2.1.0 or WPILib's built-in tools.

 Mechanism2d mechanism = new Mechanism2d(3, 3);
 Logger.getInstance().recordOutput("MyMechanism", mechanism);

Based on WPILib 2023.1.1

AdvantageKit - v2.0.0

Published by jwbonner almost 2 years ago

This is the 2023 kickoff release of AdvantageKit, based on the first official version of WPILib 2023.

Based on WPILib 2023.1.1

AdvantageKit - v2.0.0-beta-4

Published by jwbonner almost 2 years ago

Adds support for universal binaries on macOS.

Based on WPILib 2023.1.1-beta-7

AdvantageKit -

Published by jwbonner almost 2 years ago

  • Updated to WPILib 2023.1.1-beta-7
  • Fixed logging of mutated array values (affected PDP current logging)
  • Removed "sourceSets" from recommended autolog config
  • Updated unit testing config in "build.gradle" for example projects
  • Disabled "skipInvalidPlatforms" in vendordep

Based on WPILib 2023.1.1-beta-7

AdvantageKit - v2.0.0-beta-2

Published by jwbonner almost 2 years ago

  • Updated to WPILib 2023.1.1-beta-6
  • Adjusted pose output logging functions (supported types are now Pose2d, Pose3d, Trajectory, and SwerveModuleState)
  • Added getSendableChooser() method to LoggedDashboardChooser (#23)
  • Added clone method to AutoLog generated classes
  • Bug fixes for command based example project
  • Fixed typo in AutoLog warning message

Based on WPILib 2023.1.1-beta-6

AdvantageKit - v2.0.0-beta-1

Published by jwbonner almost 2 years ago

This is the first beta release of AdvantageKit for 2023. For a detailed changelog, please see the What’s New For 2023? page.

Based on WPILib 2023.1.1-beta-3

AdvantageKit - v1.8.1

Published by jwbonner over 2 years ago

Fixes a bug which caused automatic renaming of log files to fail on Windows, resulting in corruption to log files when running in simulation. (#15)

Based on WPILib 2022.4.1

AdvantageKit - v1.8.0

Published by camearle20 over 2 years ago

Adds a new AutoLog annotation and a corresponding annotation processor to automatically generate LoggableInputs fromLog and toLog methods.

This is being initially released to allow teams to test out the feature, and it is expected that this feature will change (potentially drastically) in the near future as we make sure it handles everything in a less brittle manner. Documentation for this feature is on the way (TBD).

This release has no other changes from v1.7.3 other than the addition of the annotation and a new maven artifact for the processor.

Based on WPILib 2022.4.1

AdvantageKit - v1.7.3

Published by jwbonner over 2 years ago

Switched ByteLogReceiver to flush data to the log file periodically, rather than writing every cycle and relying on the OS to flush data (#13).

Based on WPILib 2022.4.1

AdvantageKit - v1.7.2

Published by jwbonner over 2 years ago

Fixed an issue causing a NullPointerException on calls to getTimestamp while initializing.

Based on WPILib 2022.4.1

AdvantageKit - v1.7.1

Published by jwbonner over 2 years ago

  • Metadata is now logged in every cycle to address this issue. This will not increase the size of log files.
  • Fixed the handling of timestamps when automatically renaming logs. There is sometimes a delay between the DS updating the timestamp and timezone on the RIO, which can cause times to be recorded in UTC unexpectedly. After receiving an updated time, there is now a short delay before renaming the log file.

Based on WPILib 2022.4.1

AdvantageKit - v1.7.0

Published by jwbonner over 2 years ago

Updated to WPILib 2022.4.1.

Based on WPILib 2022.4.1

AdvantageKit - v1.6.0

Published by jwbonner over 2 years ago

Added support for custom power distribution CAN IDs with the setPowerDistributionConfig method on LoggedSystemStats.

Based on WPILib 2022.3.1

AdvantageKit - v1.5.0

Published by jwbonner over 2 years ago

Updated to WPILib 2022.3.1.

Based on WPILib 2022.3.1

AdvantageKit - v1.4.0

Published by jwbonner over 2 years ago

Added getters for faults in Logger and ByteLogReceiver.

Based on WPILib 2022.2.1

AdvantageKit - v1.3.1

Published by jwbonner over 2 years ago

Fixed an issue with live logging that sometimes caused a block in the ReceiverThread. Requires Advantage Scope v1.15.0 or later.

Based on WPILib 2022.2.1

AdvantageKit - v1.3.0

Published by jwbonner over 2 years ago

Added support for grabbing the current log file from Advantage Scope when starting replay. Requires Advantage Scope v1.14.0 or later.

Based on WPILib 2022.2.1

AdvantageKit - v1.2.1

Published by jwbonner over 2 years ago

Various fixes to address a race condition causing the main thread to hang:

  • Changed ds_reader to use a timed_mutex
  • Added handling of null strings in LogTable.
  • Removed blocking call in Logger when the receiver queue exceeds capacity.

Based on WPILib 2022.2.1

AdvantageKit - v1.2.0

Published by jwbonner almost 3 years ago

Updated to WPILib 2022.2.1.

Based on WPILib 2022.2.1