MuJoCo models for the Geodude bimanual robot.
uv add geodude_assetsOr from source:
git clone https://github.com/personalrobotics/geodude_assets.git
cd geodude_assets
uv syncimport mujoco
from geodude_assets import get_model_path
# Load the Geodude robot
model = mujoco.MjModel.from_xml_path(str(get_model_path()))
data = mujoco.MjData(model)
# Reset to ready pose
ready_key = mujoco.mj_name2id(model, mujoco.mjtObj.mjOBJ_KEY, "ready")
mujoco.mj_resetDataKeyframe(model, data, ready_key)
# Step simulation
mujoco.mj_step(model, data)View the robot in MuJoCo's interactive viewer:
uv run python -m mujoco.viewer --mjcf="$(uv run python -c 'from geodude_assets import get_model_path; print(get_model_path())')"An interactive collision viewer is available to visualize collision geometry and contact detection:
uv run python -u examples/view_collisions.py- Use joint sliders to move the robot (Tab to show/hide control panel)
- Colliding bodies turn red
- Press
0to toggle collision geometry visibility - Press
Cto toggle contact point visualization - Press
Backspaceto reset (orRif using mjpython)
Note on macOS: The viewer automatically falls back to blocking mode when using uv's Python. For non-blocking mode with
launch_passive, you need a "framework" Python build (e.g., from Homebrew or python.org) and can run:mjpython examples/view_collisions.py
The default Geodude model has Robotiq 2F-140 grippers on both arms. To use different end effectors (e.g., Ability Hands), use the assembly module:
uv sync --extra assemblyfrom geodude_assets.assembly import attach_arms_to_vention
# Robotiq grippers on both arms (default)
model = attach_arms_to_vention(
save_file=False,
dir=".",
filename="geodude.xml",
left_gripper_type="2f140",
right_gripper_type="2f140",
)
# Ability Hands on both arms
model = attach_arms_to_vention(
save_file=False,
dir=".",
filename="geodude.xml",
left_gripper_type="abhl",
right_gripper_type="abhr",
)
# Mixed: Ability Hand on left, Robotiq on right
model = attach_arms_to_vention(
save_file=False,
dir=".",
filename="geodude.xml",
left_gripper_type="abhl",
right_gripper_type="2f140",
)
# No grippers (bare UR5e arms)
model = attach_arms_to_vention(
save_file=False,
dir=".",
filename="geodude.xml",
left_gripper_type=None,
right_gripper_type=None,
)# Generate and save a custom configuration
uv run python -m geodude_assets.assembly --save-mjcf -d ./output -l abhl -r 2f140| Type | Description |
|---|---|
2f140 |
Robotiq 2F-140 parallel jaw gripper |
abhl |
Psyonic Ability Hand (left) |
abhr |
Psyonic Ability Hand (right) |
None |
No gripper (bare UR5e wrist) |
The Geodude robot consists of:
- Vention frame with vertical linear rails: enclosed lead screw actuators, modelled as
stiff, self-locking position axes (see the comments in
models/vention/vention.xml) - Two UR5e arms mounted on the linear rails
- End effectors on each arm (configurable)
- Worktop - a named site marking the usable work surface
| Site | Position | Size | Description |
|---|---|---|---|
worktop |
(0, -0.35, 0.755) | 1.2m × 0.8m | Usable work surface on the Vention base |
The worktop site is visualized as a semi-transparent green box and can be used by planners to define placement regions:
import mujoco
from geodude_assets import get_model_path
model = mujoco.MjModel.from_xml_path(str(get_model_path()))
site_id = mujoco.mj_name2id(model, mujoco.mjtObj.mjOBJ_SITE, "worktop")
worktop_pos = model.site_pos[site_id] # [0, -0.35, 0.755]
worktop_size = model.site_size[site_id] # [0.6, 0.4, 0.005] (half-extents)| Actuator | Range | Description |
|---|---|---|
left_linear_actuator |
0-0.5m | Left arm vertical position (0=bottom, 0.5=top) |
right_linear_actuator |
0-0.5m | Right arm vertical position |
left_ur5e/shoulder_pan |
±2π | Left arm joint 1 |
left_ur5e/shoulder_lift |
±2π | Left arm joint 2 |
left_ur5e/elbow |
±π | Left arm joint 3 (limited by UR to avoid self-collision) |
left_ur5e/wrist_1 |
±2π | Left arm joint 4 |
left_ur5e/wrist_2 |
±2π | Left arm joint 5 |
left_ur5e/wrist_3 |
±2π | Left arm joint 6 |
right_ur5e/... |
... | Right arm joints (same as left) |
left_ur5e/gripper/fingers_actuator |
0-255 | Left gripper (0=open, 255=closed) |
right_ur5e/gripper/fingers_actuator |
0-255 | Right gripper |
Each gripper's fingers_actuator works like the real 2F-140's drive: a position target with a force limit, at a set speed. The command 0–255 sets the target opening, from open to closed, and the fingers stop wherever an object blocks them. Fully closed targets the driver's 0.7 rad limit, the URDF's, where the pads meet: closed on nothing, the hand comes to rest with its pads together, symmetrically, 2.83 s after the command, and stays there (TestClosedHandSettles, #48). Measured in TestGripDrive:
| The model | Real 2F-140 (Robotiq) | |
|---|---|---|
| Grip, per pad, on a 40–110 mm object held in parallel | 45.6–54.3 N | 10–125 N, set per command; Geodude's hardware commands 50 N |
| Fingertip speed, averaged over 20 ms | Up to about 221 mm/s | 30–250 mm/s |
| A pad's resistance to twisting about its normal, at one contact point | 12.96 mm × the normal force: about 0.66 N·m at 51 N | Not published |
The twist a pad resists is its contact patch's, from geometry: sliding friction 0.7 times the 18.5 mm mean distance of its 27 × 65 mm face from its centre, under uniform pressure (TestPadTorsion). A rigid pad touches a box edge or a sphere at a single point, which has nothing else to resist a twist, and MuJoCo's default of 5 mm let a box pinched that way pivot out of the grip under its weight (#36). A pad seated flat touches at its four corners, whose sliding friction resists more. TestPadGrip lifts and carries objects at full speed with both coefficients, including an overload, which slips.
These figures are the model's under MuJoCo 3.14, the version Geodude runs and this package's uv.lock pins; the package requires MuJoCo 3.12 or later: from 3.5 the model grips and moves this way (#49), and from 3.12 a hand closed on nothing settles (#48). Under 3.14 the model touches a large cylinder along a line across the pad's width, where MuJoCo 3.4 touched it at a single point, and its grip rises 19 % from the 40 mm to the 110 mm cylinder: 45.6 N to 54.3 N. That is the model's behaviour, not a measurement of the real gripper. The actuator's force range, 6.3, centres those grips in 50 N ± 10 %, a band chosen around Geodude's 50 N command. Under 3.4, from about 6.4 on the force range, the drive overpowered the finger's spring link and folded the finger on small objects (#36); under 3.14 a 40 mm grip stays parallel at 8.0 and folds at 10.0. TestGripDrive checks each grip stays parallel.
Where each gripper's eight joints settle fully open and fully closed on nothing is declared in ssrobot.toml (open_positions, closed_positions), so a gripper command can be checked against the scene before it runs. They are MuJoCo's values; the real hand's are unmeasured. ssrobot's scripts/calibrate_gripper.py measures them; the evidence is evidence/mujoco-gripper.json.
Each UR5e arm has a simulated 6-axis force/torque sensor at the tool flange, matching the built-in sensor on the real robot.
| Sensor | Output | Description |
|---|---|---|
left_ur5e/ft_sensor_force |
Fx, Fy, Fz | Force at left tool flange (Newtons) |
left_ur5e/ft_sensor_torque |
Tx, Ty, Tz | Torque at left tool flange (Nm) |
right_ur5e/ft_sensor_force |
Fx, Fy, Fz | Force at right tool flange (Newtons) |
right_ur5e/ft_sensor_torque |
Tx, Ty, Tz | Torque at right tool flange (Nm) |
Coordinate Frame (tool0): Z+ points out of the flange (toward the tool), X+ points left, Y+ points up.
import mujoco
from geodude_assets import get_model_path
model = mujoco.MjModel.from_xml_path(str(get_model_path()))
data = mujoco.MjData(model)
# Get sensor IDs
force_id = mujoco.mj_name2id(model, mujoco.mjtObj.mjOBJ_SENSOR, "right_ur5e/ft_sensor_force")
torque_id = mujoco.mj_name2id(model, mujoco.mjtObj.mjOBJ_SENSOR, "right_ur5e/ft_sensor_torque")
# Step simulation
mujoco.mj_step(model, data)
# Read sensor values
force_adr = model.sensor_adr[force_id]
torque_adr = model.sensor_adr[torque_id]
force = data.sensordata[force_adr:force_adr + 3] # [Fx, Fy, Fz]
torque = data.sensordata[torque_adr:torque_adr + 3] # [Tx, Ty, Tz]| Model | Description |
|---|---|
geodude |
Full robot: two UR5e arms on Vention base with Robotiq 2F-140 grippers |
universal_robots_ur5e |
Single UR5e arm |
robotiq_2f140 |
Robotiq 2F-140 parallel jaw gripper |
vention |
Vention aluminum frame base with linear rails |
abh_left_small |
Psyonic Ability Hand (left, small) |
abh_right_small |
Psyonic Ability Hand (right, small) |
Load individual component models:
from geodude_assets import get_model_path
ur5e_path = get_model_path("universal_robots_ur5e")
gripper_path = get_model_path("robotiq_2f140")uv sync --dev
# Lint
uv run ruff check .
uv run ruff format .
# Test
uv run pytestTo regenerate the default geodude model after modifying component XMLs:
uv sync --extra assembly
uv run python -m geodude_assets.assembly --save-mjcf -d src/geodude_assets/models/geodude -l 2f140 -r 2f140Note: The assembly module uses
dm_control.mjcf. The pyproject.toml includes a uv override to excludelabmaze(which requires Bazel to build) since it's not needed for MJCF model assembly.
MIT
