graphify
GRGraphify-Labs/graphify155k2,124 new stars in the last 7 days
Bring a custom robot into the Genie Sim RT Engine — author / fix a xacro / URDF in `genie_sim_robot_model`, prep meshes with the offline tools (`normalize_obj_names.py`, `diagnose_urdf.py`, `recompute_inertia.py`, `fix_dae_units.py`, `copy_dae_material.py`), stage assets into the AS3 layout (`robot.usda` + `payloads/Physics/{physics,physx,mujoco}.usda`) that the engine consumes, and wire the result into a `scene_*.yaml`. Trigger: When the user asks to "add a new robot", "import a robot", "support <vendor> in geniesim", names a URDF / xacro not currently in `genie_sim_robot_model/urdf/`, or wants to convert a third-party mesh pack into AS3-ready USD.
scene_*.yaml and launch it
via the launch-scene skill.Do not use for:
build-workspace.coupled_constraints.yaml).run-benchmark
in geniesim_benchmark/skills/.robot.usda + payloads/Physics/{physics,physx,mujoco}.usda
for the 6.2 workflow. Isaac 4.5/5.1 retain flat AS2 support. Switching
physics selects a variant without rewriting the source asset.diagnose_urdf.py catches
missing inertia, zero-mass links, collision/visual mismatches,
and bad OBJ name collisions — every one of these breaks the
URDF→USD importer downstream.normalize_obj_names.py
rewrites names to be prefix-unique.genie_sim_robot_model, not in geniesim_assets.
Meshes can move to geniesim_assets once stabilised, but URDFs +
xacros stay in the ROS package.Drop the file under
source/geniesim_ros/src/ros_ws/src/genie_sim_robot_model/urdf/ next
to the reference robots. Name follows the convention
<vendor>_<model>[_<gripper>].urdf.
ls source/geniesim_ros/src/ros_ws/src/genie_sim_robot_model/urdf/
# e.g. franka_fr3.urdf, ur5_robotiq_140.urdf, your_robot.urdf
cd source/geniesim_ros/src/ros_ws/src/genie_sim_robot_model
python scripts/diagnose_urdf.py urdf/<your_robot>.urdf
Look for: missing <inertial>, zero mass, visual/collision link
mismatches, mesh path resolution failures.
For each issue the diagnose tool flagged:
# OBJ name collisions:
python scripts/normalize_obj_names.py path/to/meshes/
# DAE units off (mm vs m):
python scripts/fix_dae_units.py path/to/meshes/<file>.dae
# DAE materials missing after a re-export:
python scripts/copy_dae_material.py source.dae target.dae
# Missing or wrong inertials (uniform-density approximation):
python scripts/recompute_inertia.py urdf/<your_robot>.urdf
Re-run diagnose_urdf.py until it's clean, then build the workspace
(build-workspace skill) and let the engine's URDF→USD importer
stage the AS3 layout on first run. The importer writes:
assets/scenes/<scene>/
├── manifest.json
├── scene.usda
└── robot/
├── robot.usda
└── payloads/
└── Physics/
├── physics.usda
├── physx.usda
└── mujoco.usda
manifest.json presence = cache hit. To force a regenerate:
rm -rf assets/scenes/<scene>/
# or pass:
ros2 launch genie_sim_bringup app.launch.py … always_regenerate_robot_usd:=true
Create genie_sim_bringup/config/scene_flat_<your_robot>.yaml
modelled on one of the reference scenes (e.g. scene_flat_fr3.yaml).
Required keys:
robot:
robot_source:
package: genie_sim_robot_model
robot_model: <your_robot>
urdf: # presence selects URDF→USD assembly
xacro_entry: urdf/<your_robot>.urdf # relative to the package share directory
init_base_pose: # non-physics teleport at spawn
x: 0.0
y: 0.0
z: 0.0
theta: 0.0
init_joint_pos: # optional, per-joint dict
joint_name: <value>
viewer_camera: # Newton GL viewer default cam
pos: [1.6, -1.6, 1.2]
lookat: [0.0, 0.0, 0.8]
scene: {} # empty environment; copy asset settings from a reference scene
The launcher reads robot.robot_source; a top-level robot.urdf is ignored.
xacro_entry accepts the plain URDF staged in Step 1 or a xacro entry such as
xacro/robot.xacro. For a composed xacro, set robot_model, body, arm and
gripper under robot_source to the values supported by that entry. Build the
ROS workspace after adding the file so it is installed into the package share.
launch-sceneros2 launch genie_sim_bringup app.launch.py \
scene:=scene_flat_<your_robot> \
launcher_config:=launcher_ovrtx_isaac_physx \
headless:=false # local workstation with a screen; flip to true on a remote/headless host
If anything goes wrong, fall back to the experimental
launcher_newton_mjwarp to see whether the issue is PhysX-specific
or applies to all backends.
# Inside the container:
cd source/geniesim_ros/src/ros_ws/src/genie_sim_robot_model
# 1. Diagnose
python scripts/diagnose_urdf.py urdf/<your_robot>.urdf
# 2. Mesh prep (only the ones the diagnose tool flagged)
python scripts/normalize_obj_names.py path/to/meshes/
python scripts/fix_dae_units.py path/to/meshes/<file>.dae
python scripts/copy_dae_material.py src.dae dst.dae
python scripts/recompute_inertia.py urdf/<your_robot>.urdf
# 3. Build, then let the engine stage AS3 on first run
cd /workspace
geniesim ros build dev && source devel/setup.bash
# 4. Author scene_flat_<your_robot>.yaml, then:
ros2 launch genie_sim_bringup app.launch.py \
scene:=scene_flat_<your_robot> \
launcher_config:=launcher_ovrtx_isaac_physx \
headless:=false # local workstation with a screen; flip to true on a remote/headless host
recompute_inertia.py assumes uniform density and is only a
starting point. For Tier 1 quality, source inertials from the
vendor's CAD.manifest.json. Editing
init_joint_pos does not bust the cache (it's forwarded as a
JSON-encoded launch param, not a manifest field) — only changes
that affect topology (URDF, xacro args, mimic, fixed-base
selection) require a regenerate.GRGraphify-Labs/graphify155k2,124 new stars in the last 7 days
PApaperclipai/paperclip119k1,727 new stars in the last 7 days
NEnexu-io/open-design110k1,079 new stars in the last 7 days
HEheygen-com/hyperframes93k3,834 new stars in the last 7 days
BYbytedance/deer-flow86k245 new stars in the last 7 days
BYbytedance/deer-flow86k245 new stars in the last 7 days