Skip to content

Releases: varun7654/AutoBuilder

AutoBuilder v2.3.0

08 Jan 21:06
v2.3.0
7bdc6f3
Compare
Choose a tag to compare

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

AutoBuilder v2.2.8

06 Jan 19:42
v2.2.8
6347a13
Compare
Choose a tag to compare

Use >v2.2.8 of the Robot Side Library!

    implementation "com.dacubeking:autobuilder-robot:2.2.9" // for WPILib 2024.1.1

You can use v2.2.8 for the 2023 version of WPILib

Bug Fixes:

What's Changed

  • Move robot side to main reop by @varun7654 in #43
  • Update to the 2024 version of WPILib (ty to MikLast)
  • Update to NT4
  • Remove WPILib from the repository.
    • We're now just overriding the classes we need to change instead of including the whole of wpi math
  • Selecting a point on the field scrolls to the point on the timeline
  • Points are selected on the field when they're clicked on the timeline

Full Changelog: v2.2.7...v2.2.8

AutoBuilder v2.2.7

29 May 23:30
5f26224
Compare
Choose a tag to compare

This release requires Java 17

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

*v2.2.7 updates the wpilib dependency to 2022.4.3
*v2.2.6 updates the wpilib dependency to 2022.4.2
*v2.2.3 updates the wpilib dependency to 2022.3.2
*v2.2.2 updates the wpilib dependency to 2022.2.1

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

You will need to update some config values if you've previously used an older version (version <= 2.2.0) of the AutoBuilder to ensure that your field image renders correctly!

Make sure, under your app config, that you have the following values set

  • Point Scale Factor: 159.83
  • Origin X: -598.0
  • Origin Y: -1080.0

image

Bug Fixes:

  • Add a constraint to limit the acceleration of a path
    • Useful when combined with the rectangular region constraint & elliptical region constraint to limit the acceleration on certain parts of the path
    • The global acceleration constraint still exists and is enforced
  • Added the Swerve Drive Voltage Constraint
    • Limits the acceleration based on the current speed of the robot. It allows the robot to accelerate faster at lower speeds but limits the acceleration at higher speeds.

Full Changelog: v2.2.4...v2.2.7

AutoBuilder v2.2.3

21 Mar 20:34
afd87ed
Compare
Choose a tag to compare

This release requires Java 17

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

*v2.2.7 updates the wpilib dependency to 2022.4.3
*v2.2.6 updates the wpilib dependency to 2022.4.2
*v2.2.3 updates the wpilib dependency to 2022.3.2
*v2.2.2 updates the wpilib dependency to 2022.2.1

    implementation "com.dacubeking:autobuilder-robot:2.2.26 

You will need to update some config values if you've previously used an older version (version <= 2.2.0) of the AutoBuilder to ensure that your field image renders correctly!

Make sure, under your app config, that you have the following values set

  • Point Scale Factor: 159.83
  • Origin X: -598.0
  • Origin Y: -1080.0

image

Bug Fixes:

  • Fix reflection of constraints
  • Always render the primary robot position on top of all other robot positions

Full Changelog: v2.2.3...v2.2.4

AutoBuilder v2.2.3

21 Jan 02:17
v2.2.3
576c586
Compare
Choose a tag to compare

This release requires Java 17

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

*v2.2.6 updates the wpilib dependency to 2022.4.2
*v2.2.3 updates the wpilib dependency to 2022.3.2
*v2.2.2 updates the wpilib dependency to 2022.2.1

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

You will need to update some config values if you've previously used an older version (version <= 2.2.0) of the AutoBuilder to ensure that your field image renders correctly!

Make sure, under your app config, that you have the following values set

  • Point Scale Factor: 159.83
  • Origin X: -598.0
  • Origin Y: -1080.0

image

Bug Fixes:

  • Fix textboxes still accepting text input when they're not being rendered (again)
  • Fix more bugs with undo/redo (ex when flipping paths)

Full Changelog: v2.2.2...v2.2.3

AutoBuilder v2.2.2

19 Jan 04:51
v2.2.2
99ddd67
Compare
Choose a tag to compare

This release requires Java 17

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

*v2.2.2 updates the wpilib dependency to 2022.2.1

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

You will need to update some config values if you've previously used an older version (version <= 2.2.0) of the AutoBuilder to ensure that your field image renders correctly!

Make sure, under your app config, that you have the following values set

  • Point Scale Factor: 159.83
  • Origin X: -598.0
  • Origin Y: -1080.0

image

New Features:

  • Add a button to flip the paths along the middle of the field. (In the settings menu)
  • Add a button to reset the config. (In the settings menu)
  • Make the NT start/stop on a separate thread
    • Auto restart the NT server when changing team numbers/IPs

Bug Fixes:

  • Fix textboxes still accepting text input when they're not being rendered

Full Changelog: v2.2.1...v2.2.2

AutoBuilder v2.2.1

08 Jan 07:06
v2.2.1
79c7040
Compare
Choose a tag to compare

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" 

You will need to update some config values if you've previously used an older version of the AutoBuilder to ensure that your field image renders correctly!

Make sure, under your app config, that you have the following values set

  • Point Scale Factor: 159.83
  • Origin X: -598.0
  • Origin Y: -1080.0

image

What's Changed

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

AutoBuilder v2.2.0

04 Jan 22:41
v2.2.0
009a9c9
Compare
Choose a tag to compare

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

v1.3.0-rc.1

18 Nov 21:39
v1.3.0-rc.1
cd9d5dd
Compare
Choose a tag to compare
v1.3.0-rc.1 Pre-release
Pre-release

This release requires Java 17

This Release requires you to use a beta version of the Robot Side Library!

Instead of the releases maven repository, use the snapshots maven repository

repositories {
    ...
    maven {
        url "https://maven.dacubeking.com/snapshots" // Use this link instead of https://maven.dacubeking.com/releases
    }
}

Update the implementation of the library to version 1.0.2-beta

    implementation "com.dacubeking:autobuilder-robot:1.0.2-beta" //Changed from 1.0.1 or 1.0.0

Highlights

  • 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
  • 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

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...v1.3.0-rc.1

AutoBuilder v1.2.1

20 Sep 06:08
v1.2.1
c4d3897
Compare
Choose a tag to compare

This release requires Java 17

Changes from AutoBuilder v1.2.0:

Bug Fixes:

  • Fix autos not uploading to the robot when pressing the auto upload button

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