Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cubic spline for initial guess #478

Conversation

bruingineer
Copy link
Collaborator

@bruingineer bruingineer commented May 21, 2024

goes along with SleipnirGroup/TrajoptLib#148

updates control interval counts based on trajoptlib calculated counts.

notes:

  • straight-line constraint does not play nice with the spline trajectory initial guess.
  • control intervals are calculated in trajoptlib based on trajectories between all waypoints (including initial guess waypoints). These counts are sent to Choreo, but when Choreo sends the counts back to trajoptlib, the intervals that include initial guesses have their counts summed together. This means for a path that has [pose, init guess, pose] waypoints, where trajoptlib gives intervals [12, 4, 1], Choreo will send the counts as [16, 1], which causes trajoptlib to split the 16 up evenly between initial guesses ( [ 8, 8, 1] ).

@calcmogul calcmogul changed the title Update control interval counts from trajoptlib Use cubic spline for initial guess Jun 21, 2024
@bruingineer bruingineer closed this Sep 9, 2024
@bruingineer bruingineer deleted the update-initial-guess-control-intervals branch September 9, 2024 06:05
@bruingineer bruingineer restored the update-initial-guess-control-intervals branch September 9, 2024 06:15
@bruingineer bruingineer deleted the update-initial-guess-control-intervals branch October 21, 2024 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants