Skip to content

AutoBuilder v2.3.0

Latest
Compare
Choose a tag to compare
@varun7654 varun7654 released this 08 Jan 21:06
· 1 commit to main since this release
v2.3.0
7bdc6f3

Use >=v2.3.0 of the Robot Side Library!

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

or you can try the new command-based rewrite (more below)

implementation "com.dacubeking:autobuilder-robot:2.3.0-command-rewrite-beta"

Bug Fixes

  • Fix for processing notifications from the roborio not being decoded
  • Fix deserialization issues on the robot side

New Features (from the command based rewrite) (PR #44)

  • Autos are now Commands!
    • When you ask for an auto, you'll get a command that you can run by calling the #schedule() method on it.
    • Commands in your scripts are still scheduled like normal with the schedular.
    • Autos no longer run on their own thread. They are now ticked like any other command from the main thread.
  • Much nicer to use with command-based robots.
    • Instead of having to deal with a bunch of callbacks you now create your own command for driving your autonomous based on constraints that the auto passes to you. (see more in the docs (coming soon))
  • Lazy Loading Support
    • You need to call AutonomousContainer.getInstance().loadAuto(...) to load the auto if you enable lazy loading. Hint You can just call this method every tick in your disabled periodic method.

Docs will be updated for the command based rewrite in the coming days

Full Changelog: v2.2.8...v2.3.0