You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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
New Features (from the command based rewrite) (PR #44)
#schedule()
method on it.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
This discussion was created from the release AutoBuilder v2.3.0.
Beta Was this translation helpful? Give feedback.
All reactions