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

Route generation doesn't always result in traversable path mesh #97

Closed
jelster opened this issue Feb 13, 2022 · 0 comments · Fixed by #96
Closed

Route generation doesn't always result in traversable path mesh #97

jelster opened this issue Feb 13, 2022 · 0 comments · Fixed by #96
Labels
bug Something isn't working driving-phase
Milestone

Comments

@jelster
Copy link
Owner

jelster commented Feb 13, 2022

Describe the bug
When the route is launched from certain coordinate quadrants at certain rotations, the resulting driving phase path mesh is too narrow to traverse with the truck

To Reproduce
Steps to reproduce the behavior:

  1. Start with this Playground as a test harness
  2. Line 2 of the PG specifies the sample route to load - sample-route5.json by default. Change number in filename to change route (1-5)
  3. Click inside the render canvas and/or press Return to begin driving. Proceed along route
  4. Observe narrowing of tube at lower velocity areas beyond traversable limits

Expected behavior
The generated mesh should have a minimum radius sufficient for the truck to traverse along with obstacle avoidance.
Important sample-route1 through sample-route5 demonstrate starting positions and rotations spread around most quadrants of the coordinate space (except for vertical ones). The path generated should be equally viable for all sample routes

Screenshots
image

Additional context
I think the issue stems from not correctly taking rotation into account. The rotationQuaternion is captured for every route point, but current attempts to incorporate it into path generation haven't been successful in all test cases.

@jelster jelster added bug Something isn't working driving-phase labels Feb 13, 2022
@jelster jelster added this to the v1.0 Release milestone Feb 13, 2022
@jelster jelster linked a pull request Apr 21, 2022 that will close this issue
@jelster jelster closed this as completed Apr 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working driving-phase
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant