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

Different number of primitives for every angle on noetic #62

Open
vishwaslip opened this issue Jul 21, 2023 · 1 comment
Open

Different number of primitives for every angle on noetic #62

vishwaslip opened this issue Jul 21, 2023 · 1 comment

Comments

@vishwaslip
Copy link

vishwaslip commented Jul 21, 2023

Hello, I was wondering if it was possible, on the noetic version of sbpl_lattice_planner, to have a different number of primitives per angle. For example, 7 primitives for angle 0, and 11 primitives for angle 22.5. I modified the matlab script to accommodate for these changes, but the subsequent .mprim file seems to crash the node.

For background, I am trying to customize this planner for my omnidirectional rectangular robot. I tried to follow ros 2's minimal motion primitives set, though it has a different number of primitives per angle. I also do not care which orientation the rectangular robot is on one axis, as in the front vs the back doesn't matter. So intuitively, I feel like I would need to repeat all my forward motions to make them backwards motions as well, so that the robot feels like it could go both ways, though this increases the total number of primitives even more.

So something like this for 67.5 degrees.
image

@SteveMacenski
Copy link
Member

If this doesn’t support it, Nav2’s Smac Planner does 🙂

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

No branches or pull requests

2 participants