Soccer field and goals creation for Mujoco simulator - #2158
Merged
Conversation
oleflb
requested changes
Dec 6, 2025
added 2 commits
December 6, 2025 19:18
oleflb
requested changes
Dec 8, 2025
oleflb
left a comment
Contributor
There was a problem hiding this comment.
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.
Merged
Contributor
|
I've implemented support for capsules. Therefore this PR can probably be merged once #2163 is merged |
NSVEGUR
enabled auto-merge
December 10, 2025 15:28
oleflb
requested changes
Dec 10, 2025
oleflb
approved these changes
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-simulatorand run the commanduv run viewer.py