From 87262df34c92a23844fbbdd73f42b8cae39952d1 Mon Sep 17 00:00:00 2001 From: David Yackzan Date: Wed, 8 Jan 2025 12:39:34 -0700 Subject: [PATCH] Don't use MTC in Plan and Save Trajectory objective The MTC plan's computational complexity increases exponentially when several MoveToPose stages, each with multiple solutions are stacked on top of each other. Using PlanCartesianPath with a validation step to ensure no collisions is a much less computationally complex way to navigate through poses. --- src/lab_sim/objectives/create_pose_vector.xml | 57 ++++++++++++++++++- .../load_and_execute_joint_trajectory.xml | 34 ++++++++++- .../objectives/plan_and_save_trajectory.xml | 51 ++++++----------- ... => record_and_replay_scanning_motion.xml} | 0 4 files changed, 106 insertions(+), 36 deletions(-) rename src/lab_sim/objectives/{save_and_execute_a_trajectory_from_disk.xml => record_and_replay_scanning_motion.xml} (100%) diff --git a/src/lab_sim/objectives/create_pose_vector.xml b/src/lab_sim/objectives/create_pose_vector.xml index 661b04b3..6ac88526 100644 --- a/src/lab_sim/objectives/create_pose_vector.xml +++ b/src/lab_sim/objectives/create_pose_vector.xml @@ -1,3 +1,4 @@ + + + + + + + + + + diff --git a/src/lab_sim/objectives/load_and_execute_joint_trajectory.xml b/src/lab_sim/objectives/load_and_execute_joint_trajectory.xml index b8ddbe4d..1217c4dd 100644 --- a/src/lab_sim/objectives/load_and_execute_joint_trajectory.xml +++ b/src/lab_sim/objectives/load_and_execute_joint_trajectory.xml @@ -1,3 +1,4 @@ + - + + + + + - + diff --git a/src/lab_sim/objectives/plan_and_save_trajectory.xml b/src/lab_sim/objectives/plan_and_save_trajectory.xml index 2cc64254..97027995 100644 --- a/src/lab_sim/objectives/plan_and_save_trajectory.xml +++ b/src/lab_sim/objectives/plan_and_save_trajectory.xml @@ -8,7 +8,7 @@ _subtreeOnly="false" > - + - + - - - - - - - - - + + +