Skip to content

[Feature] IsaacArticulationController: add scale / offset / clip stage for joint commands #827

Done

Description

@camopel

Isaac Sim Version

6.1.0

Operating System

Ubuntu 24.04

GPU Information

  • Model: RTX 5090
  • Driver Version: 595.84

Topic Description

IsaacArticulationController applies joint commands verbatim. There is no scale, offset, or clip
stage, so a raw command from an upstream subscriber reaches the physics backend unbounded.

OgnIsaacArticulationController.ogn (v1) declares these inputs only:

execIn, targetPrim, robotPath, jointNames, jointIndices,
positionCommand, velocityCommand, effortCommand

and OgnIsaacArticulationController.py::apply_action writes them straight through:

if np.size(joint_efforts) > 0:
    self.articulation.set_dof_efforts(joint_efforts, dof_indices=effort_indices)

The only pre-processing is validation: a width check against the selected joints, and a NaN filter
(added in isaacsim.core.nodes 5.9.0, "skip NaN command entries instead of reading previous
targets"). No magnitude limiting of any kind.

Why maxForce is not a substitute for effort commands

set_dof_efforts resolves to the PhysX external-force pathway:

isaacsim.core.experimental.prims/python/impl/articulation.py::set_dof_efforts

data = self._physics_articulation_view.get_dof_actuation_forces()
...
self._physics_articulation_view.set_dof_actuation_forces(data, indices)

UsdPhysics.DriveAPI.maxForce (written by set_dof_max_efforts -> set_dof_max_forces) bounds the
drive's output. For a joint configured as a pure torque input — drive:*:type = force,
stiffness = 0, damping = 0 — the drive contributes nothing, so maxForce has no effect on the
actuation force written above. Neither clip nor clamp appears anywhere in the effort write path
in articulation.py.

Consequence for a torque-controlled robot: an upstream policy that emits a command above the
actuator's rated torque has that value applied to the solver as-is. On a legged platform this shows
up as a joint driven past its physical capability, which is not recoverable downstream because the
excess has already entered the solver.

Asymmetry with IsaacLab

IsaacLab implements exactly this stage. isaaclab/envs/mdp/actions/joint_actions.py::process_actions
(v3.0.0-beta2.patch1):

self._processed_actions = self._raw_actions * self._scale + self._offset
if self.cfg.clip is not None:
    self._processed_actions = torch.clamp(
        self._processed_actions, min=self._clip[:, :, 0], max=self._clip[:, :, 1]
    )

scale, offset, and clip are all per-joint resolvable (float | dict, resolved by joint-name
pattern).

So within the same stack, a user on the IsaacLab manager-based path gets scale/offset/clip, while a
user on the OmniGraph or standalone path has to reimplement it. That reimplementation is the part
that concerns us: it means duplicating limit bookkeeping outside the controller, and it is easy to
get subtly wrong — a hand-rolled clamp that propagates a non-finite entry, or that misses the
NaN-skip semantics the node added in 5.9.0, produces a corrupted actuation write with no error.

Feature request

Add an optional pre-processing stage to IsaacArticulationController, mirroring the IsaacLab
semantics command * scale + offset, then clamp:

input type default meaning
positionScale / velocityScale / effortScale double[] empty (= 1.0) per-DOF multiplier, broadcast when scalar
positionOffset / velocityOffset / effortOffset double[] empty (= 0.0) per-DOF additive offset
positionLimit / velocityLimit / effortLimit double[] empty (= unbounded) per-DOF symmetric magnitude bound, or lower/upper pairs

Requested behaviour:

  • Empty inputs preserve today's behaviour exactly, so this is backward compatible.
  • The order is affine-then-clamp, matching IsaacLab, so a config can be ported between the two paths
    without re-deriving numbers.
  • Widths follow the same rule as the command inputs: match the selected joint count, or a single
    value broadcast to all selected joints.
  • The clamp applies after the existing NaN filter, so a NaN entry still means "leave unchanged"
    rather than becoming a clamped finite value.
  • A per-DOF limit is what matters in practice. A single scalar bound is not sufficient on a robot
    whose joint groups have different ratings (for example leg joints and wheel joints differing by
    roughly 4x), because one scalar is either too loose for the weaker group or too tight for the
    stronger one.

An alternative that would also solve it: have set_dof_efforts respect get_dof_max_forces for the
actuation-force pathway. That is a larger behavioural change and would affect existing users who
rely on the current unbounded semantics, so the opt-in node inputs above seem the safer route.

Additional note

If the maintainers would prefer this as a separate node (an explicit command-conditioning node placed
between subscriber and controller) rather than new inputs on the existing one, that would work
equally well from our side, and would keep IsaacArticulationController unchanged. Happy to prepare
a PR once there is a preferred shape — I did not want to guess at the API surface for something this
central.

Activity

  1. PeterL-NV commented on Sep 14, 2026

    @PeterL-NV

    Hi, thanks for the proposal! The team will review this and get back to you.

  2. PeterL-NV commented on Sep 15, 2026

    @PeterL-NV

    I created an internal ticket 6782489 for this feature request

  3. PeterL-NV commented on Dec 1, 2026

    @PeterL-NV

    Hi, this will be available in our next release. I am closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions