Repository navigation
Conversation
… by side With GOLEM_TEST_VIDEO=1, test_sim_stack.sh runs the sim with its viewer and the bringup with RViz on the host's X display (a per-run Xauthority file with a wildcard cookie, since the containers have their own hostname and no network), and the host records both windows by id with ffmpeg's x11grab from 3 s after both appear, on the ros container's CPUs, into OUT/stack.mp4, side by side at 1080 px. A failed video is reported, not a failed test. Run with it on the H1-2: 14/14 checks, real-time factor 1.00. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015EG7p8sgY1ZVi6unbbLp4J
…frames The NVIDIA driver's direct-rendered GLX frames never reach the X server, so x11grab recorded the MuJoCo viewer as stale frames (0.4 distinct frames/s). In a video run the sim's GLX goes to Mesa's software renderer; EGL, which the cameras and the lidar use, stays on the GPU. H1-2 run: 14/14 checks, real-time factor 1.00, the viewer's half 6-9 distinct frames/s while walking. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015EG7p8sgY1ZVi6unbbLp4J
This was referenced Nov 17, 2026
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.
What
GOLEM_TEST_VIDEO=1 tests/sim/test_sim_stack.sh --h12|--g1runs the closed-loop test with the sim's MuJoCo viewer and the bringup's RViz open on the host's X display, records both windows live, and writesOUT/stack.mp4with the two side by side (1080 px high).ffmpegx11grab by X window id, so covered windows are still recorded. It waits for the run's own MuJoCo and RViz windows (windows already open are ignored), starts both 3 s after both appear, 25 fps, pinned to the ros container's CPUs when pinning is on.stack.mp4,video_mujoco.mkv,video_rviz.mkv,video.log. A failed video is reported and does not fail the test.DISPLAY,xauth,xwininfoor an x11grabffmpeg.Testing
stack.mp442 s, viewer and RViz side by side.tests/docker: 115 passed.Notes
The live windows add rendering load beside the run, so runs without the video remain the gate. The end of
video.logcarries x11grab errors from the windows closing as the run stops; the recordings are complete.🤖 Generated with Claude Code
https://claude.ai/code/session_015EG7p8sgY1ZVi6unbbLp4J