Repository navigation
Question about missing preserve_order option in joint target lookup #928
Replies: 1 comment 1 reply
|
Yes, it's intentional. The reason joints are special (and tendons/sites aren't) is the ONNX exporter. In So for the |
|
Yes, it's intentional. The reason joints are special (and tendons/sites aren't) is the ONNX exporter. In So for the |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I noticed that in
_find_targets,mjlab/src/mjlab/envs/mdp/actions/actions.py
Lines 100 to 120 in 7fcea47
the JOINT branch calls
find_joints_by_actuator_namesmjlab/src/mjlab/entity/entity.py
Lines 502 to 524 in 7fcea47
preserve_order=Falsewhen calling find_joints. Unlike the TENDON and SITE branches, there doesn’t seem to be a way to passcfg.preserve_orderthrough.This makes it impossible to preserve the input order for joint targets, as it is always treated as
False.Is this behavior intentional by design? If so, could you clarify the reasoning behind not supporting
preserve_orderfor joints?Thanks!
All reactions