Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions data/.lfs/openarm_description.tar.gz
Git LFS file not shown
11 changes: 8 additions & 3 deletions dimos/e2e_tests/test_manipulation_planning_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
pytestmark = [pytest.mark.self_hosted_large]

JOINT_STATE_TOPIC = "/coordinator_joint_state#sensor_msgs.JointState"
BLUEPRINT = "openarm-mock-planner-coordinator"
# The e2e harness always passes --simulation (DimosCliCall.simulator), so the
# blueprint's hardware selection resolves to the in-memory whole-body adapter.
BLUEPRINT = "openarm-planner-coordinator"


def _wait_for_groups(
Expand Down Expand Up @@ -155,7 +157,8 @@ def test_single_arm_plans_and_executes_through_control_coordinator(
client = RPCClient(None, ManipulationModule)
coordinator_client = RPCClient(None, ControlCoordinator)
try:
[left] = _wait_for_groups(client, 1)
groups = _wait_for_groups(client, 2)
[left] = [group for group in groups if group.id.endswith("/left_manipulator")]
left_id = left.id

tasks = coordinator_client.list_tasks()
Expand Down Expand Up @@ -187,7 +190,9 @@ def test_dual_arm_plans_and_dispatches_both_arms_through_control_coordinator(
coordinator_client = RPCClient(None, ControlCoordinator)
try:
groups = _wait_for_groups(client, 2)
left_id, right_id = (group.id for group in groups)
group_ids = {group.id.rsplit("/", 1)[-1]: group.id for group in groups}
left_id = group_ids["left_manipulator"]
right_id = group_ids["right_manipulator"]

tasks = coordinator_client.list_tasks()
assert tasks == [JOINT_TRAJECTORY_TASK_NAME]
Expand Down
Loading
Loading