Skip to content

Add static obstacles to avoid running into the goals. - #915

Merged
Flova merged 7 commits into
mainfrom
feature/goal_obstacle
Jun 21, 2026
Merged

Flova merged 7 commits into
mainfrom
feature/goal_obstacle

Conversation

@Flova

@Flova Flova commented Jun 12, 2026 •

Copy link
Copy Markdown
Member

Checklist

  • Run pixi run build
  • Write documentation
  • Test on your machine
  • Test on the robot
  • Create issues for future work
  • Triage this PR and label it

Flova added 3 commits June 12, 2026 11:22
Extend bitbots_rust_nav with a generic PolygonObstacle (arbitrary, also
concave polygons, inflated via Minkowski sum like the round obstacles) and
allow mixing obstacle shapes in the same ObstacleMap.

The path planning now creates a U-shaped obstacle for each goal covering
its sides and back based on the field dimensions from the parameter
blackboard. The back wall is extended away from the field, so no paths are
planned through the narrow space behind the goal. Goal depth is added to
all field configs.
@github-project-automation github-project-automation Bot moved this to 🆕 New in Software Jun 12, 2026
@Flova Flova moved this from 🆕 New to 👀 In review in Software Jun 12, 2026
@Flova
Flova marked this pull request as draft June 12, 2026 09:52
@Flova Flova moved this from 👀 In review to 🏗 In progress in Software Jun 12, 2026
@Flova Flova added enhancement New feature or request navigation labels Jun 12, 2026
@ayin21
ayin21 force-pushed the feature/goal_obstacle branch from dab73f5 to 086ba27 Compare June 19, 2026 14:50
@ayin21
ayin21 marked this pull request as ready for review June 19, 2026 17:20
@ayin21 ayin21 moved this from 🏗 In progress to 👀 In review in Software Jun 19, 2026

@jaagut jaagut left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this safe or self-intersecting polygons? In general and when inflating them?

I guess, there is no reason to do this intentionally, but accidentally doing that could be bad.

Do we see the polygon in any visualization like in rviz?

Comment thread src/bitbots_navigation/bitbots_rust_nav/src/bin.rs
…or/behavior_dsd/decisions/count_active_players_without_goalie.py

Co-authored-by: Jan Gutsche <34797331+jaagut@users.noreply.github.com>
@Flova

Flova commented Jun 21, 2026

Copy link
Copy Markdown
Member Author

Is this safe or self-intersecting polygons? In general and when inflating them?

Not supported imo.

@Flova
Flova merged commit 046cde4 into main Jun 21, 2026
3 checks passed
@Flova
Flova deleted the feature/goal_obstacle branch June 21, 2026 17:16
@github-project-automation github-project-automation Bot moved this from 👀 In review to ✅ Done in Software Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request navigation

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants