Skip to content

Choreo v2025.0.2

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 22 Jan 19:12
· 6 commits to main since this release
ef22708

This release brings critical fixes to ChoreoLib in all three languages and usability improvements in the UI. We also now build the UI and CLI for Linux aarch64.

New Tips and Tricks

  • Disable or delete the default field border Keep In Rect constraint on any paths that do not need it. Especially on simpler paths, it has been shown to significantly affect generation time. In this update, the constraint is disabled by default.

ChoreoLib Python

BREAKING: .chor files need to be saved in [project root]/deploy/choreo now. Docs here have been updated to match.

  • Fixed a bug with load_trajectory() requiring absolute paths. After doing the above file move, use the trajectory name alone, such as choreo.load_trajectory("testPath") to load [project root]/deploy/choreo/testPath.traj.

ChoreoLib C++

  • Fixed several compilation errors, so the C++ library is usable now.

ChoreoLib Java

  • Fixed behavior of AutoFactory.trajectoryCmd(...). It is now a command that requires the drivetrain, so can be used in sequence with resetOdometry as intended.
  • Fixed an issue with the AutoTrajectory.done() Trigger where it would sometimes not switch true at the end of the trajectory, especially when running the trajectory a second time.

Choreo GUI

  • Fixed a bug where a zero-max-angular-velocity constraint between a pose and translation waypoint would fail in a way that required manual correction beyond undoing that setup.
  • Fixed an issue with two identical waypoints in sequence, which would cause an error about "nonfinite cost or constraints". Both waypoints now constrain the same sample in the path. This situation is not recommended, but is intended to at least generate if the constraints are compatible.
  • Fixed an issue with variables that depend on other variables. This would cause a UI crash if the dependency variable was deleted. Now it shows the depending variable as an invalid input.
  • Variables in the variable panel are now visually sorted alphabetically, but still separated between standalone variables and pose variables.
  • Fixed an issue with the icons in the path list, where trajectories would be incorrectly shown as out-of-date upon opening a project.
  • Added a Generate All Outdated button above of the path list, next to the Add Path and Duplicate Path buttons.
  • The Keep In Rect constraint for the field borders is disabled in new paths. For paths that do not get near the wall, the constraint is an unnecessary performance hit.

File Format

No breaking changes. However, the .chor variables section is now always saved in alphabetical order by variable name. Previously it was nondeterministic and changed almost every time a variable was modified. This change should reduce lines changed in source control diffs.

What's Changed

New Contributors

Full Changelog: v2025.0.1...v2025.0.2