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

Apply angle modulus to initial guess dtheta #467

Conversation

bruingineer
Copy link
Collaborator

normalizes the range of dtheta to -pi,pi. Now, the number of guess points added due to a rotation from 5pi/6 to -5pi/6 is the same as a rotation from 0 to 2pi/6.

normalizes the range of dtheta to -pi,pi. making the number of guess points add due to a rotation from 5pi/6 to -5pi/6 is the same as a rotation from 0 to 2pi/6.
@calcmogul
Copy link
Member

Could you provide a before and after screenshot/video of a generated trajectory?

@bruingineer
Copy link
Collaborator Author

This affects path segments around initial guess waypoints and translational waypoints since those headings are not 'fixed' and wrapped.

Current Behavior

Waypoints point in the same direction
image

Waypoints headings cross the -pi,pi boundary
image

Pull Request Behavior

Waypoints point in the same direction
image

Waypoints headings cross the -pi,pi boundary
image

@calcmogul calcmogul changed the title apply angle modulus to initial guess dtheta Apply angle modulus to initial guess dtheta Apr 26, 2024
@calcmogul calcmogul merged commit 14ee572 into SleipnirGroup:main Apr 26, 2024
15 checks passed
@bruingineer bruingineer deleted the apply-angle-modulus-to-initial-guess-dtheta branch April 26, 2024 01:53
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