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

Add local minima detection routine #5

Open
gerth2 opened this issue Sep 28, 2024 · 1 comment
Open

Add local minima detection routine #5

gerth2 opened this issue Sep 28, 2024 · 1 comment
Milestone

Comments

@gerth2
Copy link
Contributor

gerth2 commented Sep 28, 2024

It's quite possible we'll change the base map params in the future (different obstacle size, strenght... differnet goal strenght)

Add logic to detect and warn about local minima the robot coudl get stuck in.

@gerth2 gerth2 added this to the Auto Drive milestone Oct 1, 2024
@gerth2
Copy link
Contributor Author

gerth2 commented Oct 2, 2024

One way to do this: write a unit test case that does something like this:

for all goals:
   for a grid of X/Y start positions:
       set pose = start poisition
       while(pose not at goal):
           pose = pathplanner.update(curPose)
           if(too many steps):
                 Fail
Pass

This will be a long testcase, but it can exhaustively show that we can plan from any start spot to any goal without getting stuck.

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

1 participant