In this article
The inspected split-step implementation uses implicit variants when selected and otherwise Euler; RK4 requires the supported full-step control-callback path.
The configured integrator is not the whole execution path
A simulation wrapper inserts feedback between mj_step1 and mj_step2, then changes the model integrator option to RK4. The experiment is reported as a comparison between Euler and RK4, although the wrapper still takes the split path. Before interpreting a changed result or an apparent lack of improvement, inspect the entry point actually performing integration. An option stored in the model is not proof that every API path implements that option identically.
Inspect full and split dispatch separately
The main simulation API explicitly warns that RK4 does not work with the split interface. The inspected versioned engine source dispatches full mj_step among Euler, RK4 and implicit variants. Its mj_step2 implementation selects the implicit routine for implicit or implicitfast settings and otherwise calls Euler. Consequently, an RK4 setting reaches Euler through this split path. This statement follows the examined code, not an assumption that split stepping always means Euler in every configuration.
Preserve the feedback evaluation contract
Full-step multistage integration needs the feedback law available when the dynamics are evaluated, rather than a single externally computed command substituted between split stages. A control callback is the documented integration path for that use. Distinguish a feedback function of the supplied intermediate state from application logic that advances its own controller history on every invocation. Treating every callback evaluation as a new physical sample can change the modeled controller when the integrator evaluates dynamics repeatedly.
Propose an entry-point trace before accuracy comparisons
A proposed fixture should record selected integrator, invoked stepping functions, control-evaluation context and simulation-time increments. Compare a supported full-step feedback path with the existing split wrapper under an explicitly chosen compatible integrator. First establish which algorithm ran; only afterward define numerical accuracy or stability comparisons against a suitable reference. No runtime tracing, benchmark or control experiment was performed for this article. Source inspection alone does not quantify the size of a trajectory difference.
Make the result revision-specific
Retain the engine version, wrapper revision, integrator option and actual call sequence with every simulation result. Older explanatory snippets can describe a narrower integrator set than the compiled implementation, so do not copy a prose simplification over verified dispatch code. Recheck this boundary when upgrading the engine. If the application intentionally uses a held command rather than feedback reevaluation, state that control assumption instead of silently comparing it with a continuously reevaluated feedback law.
Keep numerical configuration separate from validated control
A correctly identified integrator does not prove controller stability, contact fidelity or hardware performance. The ManiSkill conversion guide highlights another way control semantics alter outcomes; software reproducibility supports preserving the execution path. Here acceptance means that the named integrator and feedback schedule match the actual stepping API. Any later claim about improved motion quality must use a separately defined and observed evaluation.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.