AutoBuilder

A gui tool for graphically designing and testing autos in FRC

GPL-3.0 License

Stars
31
Committers
1

Bot releases are hidden (Show)

AutoBuilder - AutoBuilder v2.2.8 Latest Release

Published by varun7654 10 months ago

Use >v2.2.8 of the Robot Side Library!

THIS VERSION IS STILL USING THE 2023 RELEASE OF WPILIB. IT WILL BE UPDATED ONCE THE 2024 VERSION OF WPILIB IS OUT OF BETA
v2.2.9 will be released with the 2024 release of WPILib

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

Bug Fixes:

What's Changed

  • Move robot side to main reop by @varun7654 in https://github.com/varun7654/AutoBuilder/pull/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: https://github.com/varun7654/AutoBuilder/compare/v2.2.7...v2.2.8

AutoBuilder - AutoBuilder v2.2.7

Published by varun7654 over 1 year ago

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: https://github.com/FRC3476/AutoBuilder/compare/v2.2.4...v2.2.7

AutoBuilder - AutoBuilder v2.2.3

Published by varun7654 over 1 year ago

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: https://github.com/FRC3476/AutoBuilder/compare/v2.2.3...v2.2.4

AutoBuilder - AutoBuilder v2.2.3

Published by varun7654 over 1 year ago

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: https://github.com/FRC3476/AutoBuilder/compare/v2.2.2...v2.2.3

AutoBuilder - AutoBuilder v2.2.2

Published by varun7654 over 1 year ago

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: https://github.com/FRC3476/AutoBuilder/compare/v2.2.1...v2.2.2

AutoBuilder - AutoBuilder v2.2.1

Published by varun7654 almost 2 years ago

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: https://github.com/FRC3476/AutoBuilder/compare/v2.2.0...v2.2.1

AutoBuilder - AutoBuilder v2.2.0

Published by varun7654 almost 2 years ago

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 https://github.com/FRC3476/AutoBuilder/pull/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: https://github.com/FRC3476/AutoBuilder/compare/v1.2.1...v2.2.0

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

AutoBuilder - v1.3.0-rc.1

Published by varun7654 almost 2 years ago

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 https://github.com/FRC3476/AutoBuilder/pull/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: https://github.com/FRC3476/AutoBuilder/compare/v1.2.1...v1.3.0-rc.1

AutoBuilder - AutoBuilder v1.2.1

Published by varun7654 about 2 years ago

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: https://github.com/FRC3476/AutoBuilder/compare/v1.2.0...v1.2.1

AutoBuilder - AutoBuilder v1.2.0

Published by varun7654 about 2 years ago

This release requires Java 17

Changes from AutoBuilder v1.1.0:

New Features:

  • Show a message when we encounter an error autosaving
  • Make the camera have "velocity" when panning it around
  • Allow double/triple clicking in textboxes to highlight text in them

Bug Fixes:

  • Fix holes appearing where the different segments of the driven path connected
  • Fix the wrapping of the Hud Elements
  • ...and more!

Full Changelog: https://github.com/FRC3476/AutoBuilder/compare/v1.1.0...v1.2.0

AutoBuilder - AutoBuilder v1.1.0

Published by varun7654 about 2 years ago

New Releases from this point forwards will require Java 17!

Changes from AutoBuilder v1.0.1

  • Have the colors of the robot positions be based on the name of that position instead of the order that it's sent to the GUI.
  • When adding a new script/trajectory item scroll to the bottom of the autonomous timeline so that the item is visible in the autonomous timeline
  • Allow resizing of the autonomous timeline when dragging on the left-hand side of the panel
  • Fix HUD elements not being rendered

and numerous other bug fixes and improvements!

Full Changelog: https://github.com/FRC3476/AutoBuilder/compare/1.0.1...v1.1.0

AutoBuilder - AutoBuilder 1.0.1

Published by varun7654 over 2 years ago

Changes from AutoBuilder 1.0.0

  • Add a message when hovering over the error symbol that explains what the errors is
    • Additionally fix an issue where clicking on the warning symbol would delete that item.
  • Don't indent the json strings that are being sent over NT

The AutoBuilder Library and GUI app are ready for use! If you encounter any bugs please make issues and if you need any help feel free to make a thread using github discussions.

AutoBuilder - AutoBuilder 1.0.0

Published by varun7654 over 2 years ago

Changes from AutoBuilder 1.0.0-pre2

  • Fixed issues the robot position and drawable Network Table listeners not being called
    • Additionally ensure that we update the screen when a listener is called
  • Scale the drawable positions by the PointScaleFactor

At this point I think the AutoBuilder Library and GUI app are ready for use! If you encounter any bugs please make issues and if you need any help feel free to make a thread using github discussions.

AutoBuilder - AutoBuilder 1.0.0-pre2

Published by varun7654 over 2 years ago

Changes since the end of the 2022 season

  • Add support for the @AutoBuilderAccessible Annotation
  • Fully implement text highlighting in text boxes
  • Squashed a ton of bugs
  • Remove the use of JavaFX, reducing the jar size and making the jar work on linux and macos
  • Many more user interface improvements
  • Migrate to using the Robot Side library

See our wiki here to learn how to use this app!