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

Fix spline examples #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

monkbroc
Copy link

@monkbroc monkbroc commented Nov 3, 2024

Great examples in the cookbook! Thanks for adding those.

The videos for strafeToLinearHeading and strafeToSplineHeading show a target position of 48, -48 with a heading of 180 degrees which is consistent with the video and code for strafeTo and strafeToConstantHeading, but the code for strafeToLinearHeading and strafeToSplineHeading show 36, -36 and 90 degrees. Fix the code to make it consistent.

Correct:
image

Incorrect:
image
image

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.

1 participant