fix(gazebo): resolve mesh URIs and the gz GUI on Windows - #28
Open
Arcod7 wants to merge 3 commits into
Open
Conversation
Three separate failures, all Windows-only: The world path went into a PythonExpression string literal, where a Windows path is read as escapes. It crashed on the drive-relative part, and a folder whose name starts with n would have silently become a newline. Pass it as a posix path; Gazebo accepts forward slashes everywhere. gz sim then refused to run: the server and the Qt GUI cannot share a process on Windows any more than on macOS (gz-sim#168). Windows now takes the same split macOS already used, running the server with -s and the GUI separately. That GUI process could not start either: gz is a .bat on Windows and ExecuteProcess does not search PATHEXT, so it exited with WinError 2. Resolve the path before handing it over.
…dows base_path is pasted straight into a file:// URI in inmoov.urdf.xacro. With Windows backslashes that produced file://C:\...\description/robot_description/..., which gz could not resolve, so every visual failed to load and the robot appeared in the window with no geometry.
Arcod7
force-pushed
the
aes/fix-windows-gz-args
branch
from
September 3, 2026 14:03
3a87899 to
2b00f98
Compare
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.
Mesh URIs and the Gazebo GUI break on Windows.
base_pathis pasted intofile://$(arg base_path)/robot_description/meshes/dae; with backslashes gz cannot resolve it, so the robot renders with no geometry.gzis a.baton Windows, andExecuteProcessdoes not searchPATHEXT, so the GUI process was never found — resolve it withshutil.which.Verified locally: the InMoov renders in the Gazebo window on Windows with these applied.