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

Collision detection #156

Merged
merged 33 commits into from
May 30, 2024
Merged

Collision detection #156

merged 33 commits into from
May 30, 2024

Conversation

Oleg-Olegovich
Copy link
Contributor

Декомпозировал движок симуляции, вынес в SimulatorMap всё, что связано с вычислениями карты. Сейчас это лидарное облако и коллизии. Карта хранит препятствия в качестве состояния.
Добавлен поиск коллизий трака (точнее, коробочки - shape) с препятствиями (отрезками).
Поиск коллизий оптимизирован с помощью RTree из библиотеки Boost.
Симуляция прерывается при коллизии.
Добавлено перечисление StatusCode. При коллизии поле status_ в движке устанавливается в COLLISION.
Для откладки добавлено поле в SimulationState.msg.

@Oleg-Olegovich Oleg-Olegovich merged commit 3788aa1 into master May 30, 2024
1 check passed
@Oleg-Olegovich Oleg-Olegovich deleted the oleg-collision-detection branch June 28, 2024 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants