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

Inter-agent collisions using Prioritized Planning using SIPP #51

Open
The-SS opened this issue May 9, 2024 · 3 comments
Open

Inter-agent collisions using Prioritized Planning using SIPP #51

The-SS opened this issue May 9, 2024 · 3 comments

Comments

@The-SS
Copy link

The-SS commented May 9, 2024

Hello,

I was trying out the package for multi-agent motion planning using SIPP but noticed the presence of collisions when trying to visualize the ouptut.

I tried test_mapf_prioritized_sipp.py with createVideo=True and got "COLLISION! (agent-agent) (...)" messages.
One of the test cases that caused collisions is: test_mapfSimple1. Prioritized Planning using SIPP doesn't seem to account for collisions with the other obstacles.

@yucswx
Copy link

yucswx commented May 9, 2024 via email

@opan08
Copy link

opan08 commented Sep 20, 2024

I found the same bug. If you change

sipp_t::interval(lastState.second, solution.states[i].second - 1));

to

            sipp_t::interval(lastState.second, solution.states[i].second));

It should work. The result is shown below:

pp_sipp.mp4

The collision interval for each location should be [t_position, t_next_position], assuming robot stays on the position until next goal comes.

Another reason is that the sipp just considers the vertice conflict, not edge conflict.

@yucswx
Copy link

yucswx commented Sep 20, 2024 via email

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

3 participants