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

Prevent early collisions #577

Open
izvvv opened this issue Mar 18, 2024 · 1 comment
Open

Prevent early collisions #577

izvvv opened this issue Mar 18, 2024 · 1 comment

Comments

@izvvv
Copy link

izvvv commented Mar 18, 2024

Why preventing premature collisions doesn't work ?
image

@eleurent
Copy link
Collaborator

I don't know, here the vehicle is overlapping with the goal location, but this case should to be handled by the np.linalg.norm(v.position - self.goal.position) < 5 case

Not sure why this is not working. Maybe you could add some print statements / breakpoints to display the vehicle-to-goal distance for each vehicle and see if we get one <5, why it doesn't get removed?

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