Skip to content

Soccer field and goals creation for Mujoco simulator - #2158

Merged
NSVEGUR merged 10 commits into
HULKs:mainfrom
NSVEGUR:soccer-field-simulator
Dec 17, 2025
Merged

Soccer field and goals creation for Mujoco simulator#2158
NSVEGUR merged 10 commits into
HULKs:mainfrom
NSVEGUR:soccer-field-simulator

Conversation

@NSVEGUR

@NSVEGUR NSVEGUR commented Dec 5, 2025

Copy link
Copy Markdown
Contributor

Why? What?

For simulating the real world surroundings of the soccer field created a field with image and goals on both sides of the field

Ideas for Next Iterations (Not This PR)

Need to add sensors that captures when a goal enters the goals/leaves the playing area, so that we could trigger an event message from the simulator to the connected party.

How to Test

By running the simulator, i.e., Change the directory to tools/mujoco-simulator/mujoco-simulator and run the command uv run viewer.py

@github-project-automation github-project-automation Bot moved this to Request for Review in Development Dec 5, 2025
Comment thread tools/mujoco-simulator/mujoco-simulator/K1/goal_net.xml Outdated
Comment thread tools/mujoco-simulator/mujoco-simulator/K1/textures/field_quarter_base_color.png Outdated
Comment thread tools/mujoco-simulator/mujoco-simulator/K1/textures/field_quarter_normal.png Outdated

@oleflb oleflb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice, looks good! Two more things:

  • Please use some formatter on the XML files
  • Right now, our own visualizer does not support capsule colliders. I can make a PR to support Capsules or if you want to merge this PR before that, we need to change the goal posts to only be cylinders.

@oleflb oleflb mentioned this pull request Dec 8, 2025
@oleflb

oleflb commented Dec 8, 2025

Copy link
Copy Markdown
Contributor

I've implemented support for capsules. Therefore this PR can probably be merged once #2163 is merged

@NSVEGUR
NSVEGUR enabled auto-merge December 10, 2025 15:28
Comment thread tools/mujoco-simulator/mujoco-simulator/K1/field.xml Outdated
@NSVEGUR
NSVEGUR added this pull request to the merge queue Dec 17, 2025
Merged via the queue into HULKs:main with commit 0dc9572 Dec 17, 2025
24 checks passed
@NSVEGUR
NSVEGUR deleted the soccer-field-simulator branch December 17, 2025 13:35
@github-project-automation github-project-automation Bot moved this from Request for Review to Done in Development Dec 17, 2025
alexschmander pushed a commit to alexschmander/hulk that referenced this pull request Dec 29, 2025
* update: removed compiled-nn dependency from vision

* feat: added base soccer field and goals

* update: converted cylinders using replicate from mujoco xml and removed unused images from textures

* format: formatted xml files based on editor config rules

* fix: z-index of field surface

* fix: made ground to intersect with field to avoid z-fighting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants