Skip to content

AutoBuilder v2.2.0

Compare
Choose a tag to compare
@varun7654 varun7654 released this 04 Jan 22:41
· 52 commits to main since this release
v2.2.0
009a9c9

This release requires Java 17

This Release requires you to use v2.2.1 of the Robot Side Library!

    implementation "com.dacubeking:autobuilder-robot:2.2.1" 

Highlights

  • Better Execution of (Command Based) Commands
    • Commands that are properly annotated with the @AutoBuilderAccessible annotation can now be run by simply typing out the name of the command
      • The command is executed by the Command Scheduler and is run asynchronously
      • Support for "aliasing" instances by doing @AutoBuilderAccessible(alias = "name")
        • Anonymous commands are automatically aliased to the field's name if one isn't explicitly given.
        • Refer to the documentation for more details on this
  • Add a settings menu in #30
    • Allows configuring robot and app constants from within the app in real-time
    • Also allows configuring trajectory constraints in realtime
  • Allow adding constraints to specific paths in autos
    • This was possible but required editing the JSON of the autonomous files
    • This is now possible to do this directly in the autonomous timeline

Quality of Life

  • Autos are now saved in the msgpack format
    • Should improve autonomous deserialization times by ~40%
  • Pressing alt will show the position of the mouse on the field
  • Syntax highlighting on script blocks is a little more colorful!
  • Optimize drawing of the path Driven Path of the robot.
    • CPU usage is now significantly lower by caching information about the geometry of the path

Bug Fixes

  • The field image/paths not being invisible when the app launches sometimes
  • Autos being deleted when the file is initially loaded
    • This was due to some thread safety issues in the autosave functionality that was fixed

Full Changelog: v1.2.1...v2.2.0

Edit 1/6/23: Fix the jar file not containing any code! oops