Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: URLab-Sim/URLab_Bridge
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: URLab-Sim/URLab_Bridge
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: feat/external-puppet-source
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 5 files changed
  • 1 contributor

Commits on Aug 2, 2026

  1. Configuration menu
    Copy the full SHA
    8b2c910 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c60f2b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2026

  1. feat(puppet): detect model drift between the client and the URLab scene

    attach_puppet_simulation binds an external MjModel before the URLab
    scene exists — the level is loaded, the MJCF imported and the actor
    spawned afterwards — so the two models can diverge before the first
    push, and a puppet step is just a raw qpos/qvel/ctrl vector with no way
    to notice.
    
    Every handshake carrying an MJB is now compared against the attached
    model. Dimension mismatches always raise, since a push transmits exactly
    nq/nv/nu floats and no reading of differing counts is benign. Name and
    joint-ordering differences follow puppet_drift_check ('error' | 'warn' |
    'off'), defaulting to warn because a scene may legitimately carry bodies
    the source model never had. sim.start absorbs a fresh handshake once PIE
    is up, so the check covers the post-import state, not just connect.
    StuartShanks committed Aug 3, 2026
    Configuration menu
    Copy the full SHA
    87d5e7e View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2026

  1. feat(cameras): make inline sync capture reachable from the typed step…

    … API
    
    Puppet mode pauses the server's camera publishers (the step server owns
    cadence there), so `camera_query="latest"/"fresh"` wait on streams that
    never tick and no typed call could produce a frame. The server's inline
    path renders from the state the step just applied and waits on that
    capture's readback serial, which is the stronger correspondence
    guarantee -- but `include_cameras` was never forwarded onto the wire by
    either step path, so it was unreachable except by hand-building the RPC.
    
    Add `camera_query="sync"` to request it. The reply decode already
    existed; only the request side was missing.
    
    Two fixes in that decode, both of which the sync path now exercises:
    
    - It searched per-articulation cameras only, so a scene-level camera --
      a worldbody <camera> in the imported MJCF, which is what an external
      simulation exports -- had its pixels silently discarded. Use the same
      lookup as `get_camera`, which also covers `global_cameras`.
    - It sized the buffer from the view's registered resolution and dropped
      the frame on a mismatch. Prefer the payload's own width/height, which
      are what the bytes were actually sized by.
    StuartShanks committed Aug 5, 2026
    Configuration menu
    Copy the full SHA
    41d1806 View commit details
    Browse the repository at this point in the history
Loading