Repository navigation
Follow-up to #1456: address the remaining #1739 review comments - #1769
Conversation
[Medium impact] The PR appears safe to merge. SummaryRenames the displacement and joint movement terms and their result fields to say they record a maximum.
cvolkcvolk explicitly identifies the renamed fields and omitted values as intentional changes to unreleased behavior. Reviews (1) · Last reviewed commit: "Measure the object's maximum displacemen..." · Reviewed by Greptile |
🤖 Isaac Lab-Arena Review BotSummaryThis PR renames Findings🔵 Improvement: isaaclab_arena/terms/episode_recorders.py:55 — The term checks for rest itself instead of reading 🔵 Improvement: isaaclab_arena/tests/test_episode_recorder.py:244 — The comment says a term whose Test Coverage and CI CostOn the reviewed head commit, only pre-commit (and Greptile) have finished. The image build is still queued, so the simulation tests have not run yet. VerdictShip it |
ObjectDisplacement read like the object's displacement over time, but the term records the largest displacement in the episode; the same holds for RevoluteJointMovement. Rename them to ObjectMaximumDisplacement and RevoluteJointMaximumMovement, and their episode result fields to object_maximum_displacement and revolute_joint_maximum_movement. Signed-off-by: Clemens Volk <cvolk@nvidia.com>
ea299dc to
b8b841b
Compare
Follow-up to #1456: address Alex's review comments on #1739, which were not addressed before #1456 merged.
Rename
ObjectDisplacementtoObjectMaximumDisplacementandRevoluteJointMovementtoRevoluteJointMaximumMovement, together with the episode result fields they write.Why this change?
#1739 was merged into #1456 before these comments were addressed:
ObjectDisplacementreads like the object's displacement over time, while the term records the largest displacement in the episode. The same holds forRevoluteJointMovement. Recording the value at every step instead does not fit the episode results, which hold one line per episode; per-step data belongs in the trajectory HDF5 files.The terms are not in a release yet, so renaming them now breaks no released code.
What changes?
PickAndPlaceTaskandRotateRevoluteJointTaskrecord are renamed toobject_maximum_displacementandrevolute_joint_maximum_movement.object_peak_speedkeeps its name, since "peak" already says it is a maximum.ObjectMaximumDisplacementkeeps measuring from the object's position after the episode's first step. Alex also asked whether it could measure from the resting position instead; the reply on Let tasks record per-episode values, and port the pick-and-place and door metrics #1739 explains why it does not.Breaking changes on
main:object_displacementandrevolute_joint_movementare nowobject_maximum_displacementandrevolute_joint_maximum_movement.