Skip to content

Bump MuJoCo 3.1.6 -> 3.8.1 (fixes mj_multiRay culling misses at slab … - #170

Merged
wdc3iii merged 1 commit into
mainfrom
mujoco-3.8
Jul 12, 2026
Merged

Bump MuJoCo 3.1.6 -> 3.8.1 (fixes mj_multiRay culling misses at slab …#170
wdc3iii merged 1 commit into
mainfrom
mujoco-3.8

Conversation

@wdc3iii

@wdc3iii wdc3iii commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

…seams)

mj_multiRay in MuJoCo <= 3.4 computes per-geom angular culling windows from AABB corners with no margin, so large thin ground slabs adjacent to the ray origin (e.g. standing near a seam between two ground boxes) get culled for steep rays: the simulated lidar reports whatever lies below instead of the slab top face. 3.5.0 added a distance-dependent angular margin that fixes this (verified empirically: 103/120 seam rays wrong on 3.1.6, 0/120 on 3.8.1).

Breaking API change absorbed: mj_ray / mj_multiRay grew a surface-normal output argument in 3.5.0 -- pass nullptr at both CastRays call sites.

…seams)

mj_multiRay in MuJoCo <= 3.4 computes per-geom angular culling windows from
AABB corners with no margin, so large thin ground slabs adjacent to the ray
origin (e.g. standing near a seam between two ground boxes) get culled for
steep rays: the simulated lidar reports whatever lies below instead of the
slab top face. 3.5.0 added a distance-dependent angular margin that fixes
this (verified empirically: 103/120 seam rays wrong on 3.1.6, 0/120 on
3.8.1).

Breaking API change absorbed: mj_ray / mj_multiRay grew a surface-normal
output argument in 3.5.0 -- pass nullptr at both CastRays call sites.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@wdc3iii
wdc3iii merged commit 25b9fa3 into main Jul 12, 2026
@wdc3iii
wdc3iii deleted the mujoco-3.8 branch July 12, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant