Motion Generation
SkillDev toolsMotion-generation controllers for arms and mobile bases with obstacles. Use for SceneQuery-driven end-effector or drive motion.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Motion Generation skill
What this skill tells your AI
The instructions your AI receives, as published by isaac-sim/isaacsim in skills/motion-generation/SKILL.md and read by ahel’s review.
Purpose
Build obstacle-aware arm and mobile-base motion with the motion_generation controller substrate; cuMotion with RMPflow is the reference arm implementation.
Prerequisites
- Built Isaac Sim (
$ISAAC_SIM_DIRor_build/linux-x86_64/release). - NVIDIA GPU with a current driver (
nvidia-smi). - Shell env contract from
isaac-sim-orchestrator:$ISAAC_SIM_DIR,$ISAAC_LAB_DIR,$WORKSPACE_DIR.
Limitations
- Targets Isaac Sim 6 / Kit 110 unless a section states otherwise.
- Does not replace official NVIDIA documentation for unsupported edge cases.
Troubleshooting
| Error / symptom | Cause | Solution |
|---|---|---|
| Extension or import not found | Wrong $ISAAC_SIM_DIR or stale build | Point env vars at _build/linux-x86_64/release or rebuild |
| Black or empty frames | Missing lights or non-RTX render mode | Add dome/key light; confirm RTX / PathTracing settings |
| Hang on stage load or first render | MDL compile or oversized stage | Follow isolation steps in isaac-sim-troubleshooting |
Owns the generic isaacsim.robot_motion.experimental.motion_generation (mg)
substrate and the phase-machine workflow for obstacle-aware end-effector
motion. The motion-generation controller is pluggable: cuMotion
(isaacsim.robot_motion.cumotion) is the reference implementation here. PINK and
Lula are also motion-generation controllers but are not yet documented in this
skill; see the stack-selection table in manipulation-ik to choose.
Shared substrate lives in sibling skills:
| Need | Read |
|---|---|
| Python-server launch, asset-root checks, screenshots, markers, run videos, final object-pose oracle | isaac-sim-remote |
| Grasp frames, contact-only gates, physical grasp validation, IK-stack selection | manipulation-ik |
| Mobile-base planning, footprints, differential-drive/Ackermann kinematics, chase cameras | navigation-primitives |
| Dynamic object collision, rigid bodies, materials, physics readback | physics-simulation |
| Headless rendering and video capture | isaac-sim-rendering |
| Final output QA | isaac-sim-validator |
Available Scripts
| Script | Purpose | Arguments |
|---|---|---|
scripts/control_loop.py | Control loop | see script --help |
scripts/cumotion_setup.py | Cumotion setup | see script --help |
scripts/frames_and_grasping.py | Frames and grasping | see script --help |
scripts/inspect_scene.py | Inspect scene | see script --help |
scripts/phase_machine.py | Phase machine | see script --help |
scripts/world_binding.py | World binding | see script --help |
Running scripts
From agent runtimes that expose skill execution helpers, invoke helpers with run_script():
run_script("scripts/control_loop.py", args=["--help"])
From a built Isaac Sim tree, run the same file with ./python.sh (Linux) or python.bat (Windows) from _build/*/release, or execute shell helpers directly when they do not require the simulator.
Scope Rules
- Use current experimental Isaac Sim APIs. Do not add Cortex, deprecated
manipulator, or legacy
omni.isaac.*compatibility unless the user asks for migration.RobotStateand the world-binding substrate live inisaacsim.robot_motion.experimental.motion_generation; the non-experimentalisaacsim.robot_motion.motion_generationis deprecated. - Prefer Python-server iteration when available. A standalone script can be the deliverable shape, but validate the scene logic, frame alignment, and phase gates through the Python server unless the user explicitly asks to run the standalone launcher.
- Do not trust shell exit code alone. Inspect stdout/logs for tracebacks,
RuntimeError, explicit pass/fail JSON, and phase completion. - Keep one-off probes in
/tmp. Only keep reusable, domain-specific helpers under this skill. - A standalone script is run by a person, so it must open a visible window
by default. Gate headless mode and any frame capture / video encoding behind
explicit opt-in flags (for example
--render OUTPUT.MP4switches to headless capture). Never set--headlessorSimulationApp(headless=...)to default-on, and never capture frames or encode a video unless asked. Iterating on the Python server (above) is the separate, headless path for tuning.
Workflow
- Inspect robot prim path, DOF/link names, controller tool frames, object pose/AABB, physics schemas, and collision APIs.
- Define the task frame before tuning: tool frame, physical grasp/action point, object semantic axis, and target axis.
- Build world binding and controller (
references/world-binding.md,references/cumotion.md). - Run an explicit phase machine (
references/control-loop.md) with target, reset policy, convergence predicate, timeout, and trace line per phase. - Validate measured outputs from the actual run. For dynamic manipulation,
use
manipulation-ikandphysics-simulationfor grasp/contact gates.
References And Helpers
references/workflow.md: task architecture and phase-machine shape.references/world-binding.md: obstacles and robot-root transforms (SceneQuery,ObstacleStrategy,WorldBinding,synchronize_transforms).references/control-loop.md:RobotState/JointState/SpatialStatebuilders and thereset/forwardstep that applies joint targets.references/frames-and-grasping.md: tool-frame offsets, axis contracts, and gripper targeting.references/cumotion.md: cuMotion-specific controller (RmpFlowController, supported robots, cspace params, RMPflow failure modes).scripts/inspect_scene.py: Python-server scene inspection (optional cuMotion probe via thesupported_robotarg).scripts/cumotion/standalone_demo_template.py: copy-adapt standalone cuMotion scaffold.scripts/control_loop.py: name-addressedRobotStatebuilders and joint-target application.scripts/world_binding.py: cuMotion obstacle discovery and per-frame world sync.scripts/cumotion_setup.py: supported-robot RMPflow controller construction.scripts/frames_and_grasping.py: tool/contact offset conversion helpers.scripts/phase_machine.py: reusable manipulation phase labels.
Generic helpers live in isaac-sim-remote:
isaac-sim-remote/scripts/verify_asset.pyisaac-sim-remote/scripts/set_debug_view.pyisaac-sim-remote/scripts/viewport_video.py
Controller wiring (quick rules)
Full code in references/world-binding.md + references/control-loop.md;
controller construction in references/cumotion.md. The non-negotiables:
- Build joint and site state by name, not by index assumptions
(
robot.dof_names, the controller's reported tool/site frames). - Call
controller.reset(estimated, setpoint, t=0.0)before the firstforward()and after intentional target discontinuities. - Pass controller clock time into
forward(...); do not passdt. - Apply positions, velocities, and efforts from the desired joint state when present.
- Synchronize the world binding every control frame
(
update_world_to_robot_root_transforms(...)thensynchronize_transforms()). - Keep the grasped object out of the tracked obstacle set, or the controller plans around it.
- For simple reactive obstacle avoidance, bind obstacles through
CumotionWorldInterface/WorldBindingand keep the transport phase in theRmpFlowController.forward()loop. Do not switch to graph planning or author bypass/clearance targets unless the demo explicitly needs global planning. - Tune obstacle inflation in small steps; large clearance buffers can improve avoidance but break grasp/place convergence.
- Log requested planner clearance and measured runtime clearance separately; they are not the same.
- Start with example-scale c-space/posture weights; large bias can hide weak task-space motion.
- For rendered demos, validate the recorder-enabled run, not only a non-captured metrics run.
Mobile-Base Controller Pattern
For mobile bases, route planning and wheel geometry to
navigation-primitives. Use this skill only for RobotState / controller
integration, and apply joint velocities/efforts/positions rather than writing
root transforms as the success path for a physics run.
Frame Discipline
Most failures are frame errors. Log these separately (see
references/frames-and-grasping.md):
- controller tool frame, such as
tool0orwrist_3_link - desired and measured tool local
+Zaxis - visible fingertip midpoint or suction tip
- task grasp point on the object
- object origin, center of mass, and AABB center
- object semantic axis and final target axis
- target pose sent to the controller
Command the tool pose that makes the physical grasp point land on the object grasp point. If the controller drives a flange/tool frame but the gripper contacts at a fingertip or suction cup, calibrate the tool-local offset in the approach orientation and freeze it through close/lift.
Before coding a flip or placement task, prove the final pose is geometrically feasible for the grasp. If a requested final pose requires an upward-facing gripper or below-surface wrist, change the grasp strategy before tuning controller gains or timeouts.
Canonical Sources
Scripts (source/standalone_examples/tutorials/manipulation/, all use the mg substrate):
tutorial_9_arm_trajectory.py,tutorial_9_follow_target.pytutorial_9_pick_place_cumotion.py(cuMotion),tutorial_9_pick_place_pink.py(PINK)
Docs (general API first, then implementations):
docs/isaacsim/robot_motion_experimental/index.rst: framework overviewdocs/isaacsim/motion_generation/{index,scene_interaction,trajectory_planning,mobile_robot_control_example}.rstdocs/isaacsim/cumotion/index.rst,docs/isaacsim/pink/index.rst
Signals
- GitHub stars
- 4k
- Forks
- 539
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
motion-generation- Source
- github.com/isaac-sim/isaacsim