Add move_object atomic action#313
Conversation
| - {doc}`planners/motion_generator` — the trajectory planner used by every action | ||
| - {doc}`sim_robot` — how control parts and IK solvers are configured | ||
| - Tutorial: `scripts/tutorials/sim/atomic_actions.py` | ||
| - Tutorial: `scripts/tutorials/atomic_action/atomic_actions.py` |
There was a problem hiding this comment.
Why change the tutorial directory?
| @@ -238,4 +238,4 @@ is_success, traj = engine.execute_static(target_list=[target_pose]) | |||
|
|
|||
| - {doc}`planners/motion_generator` — the trajectory planner used by every action | |||
| - {doc}`sim_robot` — how control parts and IK solvers are configured | |||
There was a problem hiding this comment.
Add docs and unitest for the new atomic action
|
|
||
|
|
||
| @dataclass | ||
| class HeldObjectState: |
There was a problem hiding this comment.
These two class could be a part of ObjectSemantics?
|
UprightAction is the bigger concern. It's not really "atomic" — it's a MoveObjectAction is cleaner in concept (it's a genuine primitive: move a held My recommendation: keep MoveObjectAction as-is (minus the inheritance fix), |
|
Code Review — ljd/move_object_atomic_actions vs main The branch adds two new atomic actions (UprightAction, MoveObjectAction) plus Critical — correctness bugs
Moderate — design / API
Lower severity — cleanup / altitude
Notes (not counted)
The most actionable fixes are #1 (restore the 2D return shape or update the ✻ Cogitated for 9m 32s ❯ Do you think the two new atomic action definition is reasonable? ● Short answer: the intent of both actions is reasonable, but the abstraction is UprightAction is the bigger concern. It's not really "atomic" — it's a MoveObjectAction is cleaner in concept (it's a genuine primitive: move a held My recommendation: keep MoveObjectAction as-is (minus the inheritance fix), |
Summary
Validation
Demo
Notes