From 88d28b35d44fd214ea15062873815598af9ec876 Mon Sep 17 00:00:00 2001 From: Abishalini Date: Thu, 1 Jun 2023 16:48:28 -0600 Subject: [PATCH 1/7] Modify objectives to use Get String/Pose/JointState From User behavior --- .../objectives/close_cabinet_door.xml | 3 ++- src/picknik_ur_base_config/objectives/inspect_surface.xml | 3 ++- .../objectives/interpolate_to_joint_state.xml | 3 ++- .../objectives/interpolate_to_named_state.xml | 3 ++- .../objectives/move_to_joint_state.xml | 5 ++++- .../objectives/move_to_known_pose.xml | 4 +++- src/picknik_ur_base_config/objectives/move_to_pose.xml | 3 ++- .../objectives/open_lever_handle_door.xml | 6 ++++-- src/picknik_ur_base_config/objectives/pick_object.xml | 3 ++- src/picknik_ur_base_config/objectives/pick_place_object.xml | 6 ++++-- src/picknik_ur_base_config/objectives/push_button.xml | 3 ++- src/picknik_ur_base_config/objectives/take_snapshot.xml | 3 ++- .../objectives/open_door_affordance.xml | 5 ++++- 13 files changed, 35 insertions(+), 15 deletions(-) diff --git a/src/picknik_ur_base_config/objectives/close_cabinet_door.xml b/src/picknik_ur_base_config/objectives/close_cabinet_door.xml index 4fe22a32..55235ba7 100644 --- a/src/picknik_ur_base_config/objectives/close_cabinet_door.xml +++ b/src/picknik_ur_base_config/objectives/close_cabinet_door.xml @@ -8,7 +8,8 @@ - + + diff --git a/src/picknik_ur_base_config/objectives/inspect_surface.xml b/src/picknik_ur_base_config/objectives/inspect_surface.xml index 09274184..72feaa7f 100644 --- a/src/picknik_ur_base_config/objectives/inspect_surface.xml +++ b/src/picknik_ur_base_config/objectives/inspect_surface.xml @@ -4,7 +4,8 @@ - + + diff --git a/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml b/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml index d25f4a13..e9d47036 100644 --- a/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml +++ b/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml @@ -2,7 +2,8 @@ - + + diff --git a/src/picknik_ur_base_config/objectives/interpolate_to_named_state.xml b/src/picknik_ur_base_config/objectives/interpolate_to_named_state.xml index b117d47b..7b0cff9f 100644 --- a/src/picknik_ur_base_config/objectives/interpolate_to_named_state.xml +++ b/src/picknik_ur_base_config/objectives/interpolate_to_named_state.xml @@ -2,7 +2,8 @@ - + + diff --git a/src/picknik_ur_base_config/objectives/move_to_joint_state.xml b/src/picknik_ur_base_config/objectives/move_to_joint_state.xml index 105ab516..445f526d 100644 --- a/src/picknik_ur_base_config/objectives/move_to_joint_state.xml +++ b/src/picknik_ur_base_config/objectives/move_to_joint_state.xml @@ -1,6 +1,9 @@ - + + + + diff --git a/src/picknik_ur_base_config/objectives/move_to_known_pose.xml b/src/picknik_ur_base_config/objectives/move_to_known_pose.xml index 53161707..dba0fc0f 100644 --- a/src/picknik_ur_base_config/objectives/move_to_known_pose.xml +++ b/src/picknik_ur_base_config/objectives/move_to_known_pose.xml @@ -2,7 +2,9 @@ - + + + diff --git a/src/picknik_ur_base_config/objectives/move_to_pose.xml b/src/picknik_ur_base_config/objectives/move_to_pose.xml index a16a58c4..220cbe5a 100644 --- a/src/picknik_ur_base_config/objectives/move_to_pose.xml +++ b/src/picknik_ur_base_config/objectives/move_to_pose.xml @@ -4,7 +4,8 @@ - + + diff --git a/src/picknik_ur_base_config/objectives/open_lever_handle_door.xml b/src/picknik_ur_base_config/objectives/open_lever_handle_door.xml index 3416ee5c..7bdeff63 100644 --- a/src/picknik_ur_base_config/objectives/open_lever_handle_door.xml +++ b/src/picknik_ur_base_config/objectives/open_lever_handle_door.xml @@ -8,8 +8,10 @@ - + + diff --git a/src/picknik_ur_base_config/objectives/pick_object.xml b/src/picknik_ur_base_config/objectives/pick_object.xml index 0e658bc6..73bed009 100644 --- a/src/picknik_ur_base_config/objectives/pick_object.xml +++ b/src/picknik_ur_base_config/objectives/pick_object.xml @@ -3,7 +3,8 @@ - + + diff --git a/src/picknik_ur_base_config/objectives/pick_place_object.xml b/src/picknik_ur_base_config/objectives/pick_place_object.xml index 630744d1..7724ee8e 100644 --- a/src/picknik_ur_base_config/objectives/pick_place_object.xml +++ b/src/picknik_ur_base_config/objectives/pick_place_object.xml @@ -24,7 +24,8 @@ - + + @@ -67,7 +68,8 @@ - + + diff --git a/src/picknik_ur_base_config/objectives/push_button.xml b/src/picknik_ur_base_config/objectives/push_button.xml index e655261e..7c0dcd75 100644 --- a/src/picknik_ur_base_config/objectives/push_button.xml +++ b/src/picknik_ur_base_config/objectives/push_button.xml @@ -8,7 +8,8 @@ - + + diff --git a/src/picknik_ur_base_config/objectives/take_snapshot.xml b/src/picknik_ur_base_config/objectives/take_snapshot.xml index 293455a6..b3c3b792 100644 --- a/src/picknik_ur_base_config/objectives/take_snapshot.xml +++ b/src/picknik_ur_base_config/objectives/take_snapshot.xml @@ -5,7 +5,8 @@ - + + diff --git a/src/picknik_ur_gazebo_config/objectives/open_door_affordance.xml b/src/picknik_ur_gazebo_config/objectives/open_door_affordance.xml index 0925d927..5828dbb0 100644 --- a/src/picknik_ur_gazebo_config/objectives/open_door_affordance.xml +++ b/src/picknik_ur_gazebo_config/objectives/open_door_affordance.xml @@ -3,7 +3,10 @@ - + + + + From 1570a0b5c9a2cfe12ac88a27246d4541d1292aaf Mon Sep 17 00:00:00 2001 From: Abishalini Date: Tue, 6 Jun 2023 07:58:44 -0600 Subject: [PATCH 2/7] Use Fallback node to add error message --- .../objectives/interpolate_to_joint_state.xml | 3 +++ src/picknik_ur_base_config/objectives/move_to_known_pose.xml | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml b/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml index e9d47036..dbf78973 100644 --- a/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml +++ b/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml @@ -2,7 +2,10 @@ + + + diff --git a/src/picknik_ur_base_config/objectives/move_to_known_pose.xml b/src/picknik_ur_base_config/objectives/move_to_known_pose.xml index dba0fc0f..a229ddbe 100644 --- a/src/picknik_ur_base_config/objectives/move_to_known_pose.xml +++ b/src/picknik_ur_base_config/objectives/move_to_known_pose.xml @@ -3,6 +3,10 @@ + + + + From 24b8e685be56e79e6f30b69b2389db989781beef Mon Sep 17 00:00:00 2001 From: Abishalini Date: Tue, 6 Jun 2023 10:35:07 -0600 Subject: [PATCH 3/7] Delete interpolate_to_named_state objective --- .../objectives/interpolate_to_named_state.xml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 src/picknik_ur_base_config/objectives/interpolate_to_named_state.xml diff --git a/src/picknik_ur_base_config/objectives/interpolate_to_named_state.xml b/src/picknik_ur_base_config/objectives/interpolate_to_named_state.xml deleted file mode 100644 index 7b0cff9f..00000000 --- a/src/picknik_ur_base_config/objectives/interpolate_to_named_state.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - From 59e478d3e30c4f884e9e6861de151a9013a36fb3 Mon Sep 17 00:00:00 2001 From: Abishalini Date: Tue, 6 Jun 2023 15:46:14 -0600 Subject: [PATCH 4/7] fix indentation and use Control node --- .../objectives/interpolate_to_joint_state.xml | 6 +++--- .../objectives/move_to_known_pose.xml | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml b/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml index dbf78973..3b7c6401 100644 --- a/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml +++ b/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml @@ -2,10 +2,10 @@ - - + + - + diff --git a/src/picknik_ur_base_config/objectives/move_to_known_pose.xml b/src/picknik_ur_base_config/objectives/move_to_known_pose.xml index a229ddbe..532c135c 100644 --- a/src/picknik_ur_base_config/objectives/move_to_known_pose.xml +++ b/src/picknik_ur_base_config/objectives/move_to_known_pose.xml @@ -3,11 +3,10 @@ - + - - + From c3d0ce4ed494bbb0154d4da7cb67a72631cbad3c Mon Sep 17 00:00:00 2001 From: Abishalini Date: Tue, 6 Jun 2023 16:31:34 -0600 Subject: [PATCH 5/7] Add AlwaysFailure node to end objective after logging --- .../objectives/interpolate_to_joint_state.xml | 5 ++++- src/picknik_ur_base_config/objectives/move_to_known_pose.xml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml b/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml index 3b7c6401..cb0c2828 100644 --- a/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml +++ b/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml @@ -4,7 +4,10 @@ - + + + + diff --git a/src/picknik_ur_base_config/objectives/move_to_known_pose.xml b/src/picknik_ur_base_config/objectives/move_to_known_pose.xml index 532c135c..ca741bcc 100644 --- a/src/picknik_ur_base_config/objectives/move_to_known_pose.xml +++ b/src/picknik_ur_base_config/objectives/move_to_known_pose.xml @@ -5,7 +5,10 @@ - + + + + From 7b7e0b6d6052a06ee6676b67f5d46d4756504978 Mon Sep 17 00:00:00 2001 From: Abishalini Sivaraman Date: Wed, 7 Jun 2023 12:43:28 -0600 Subject: [PATCH 6/7] Update src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml Co-authored-by: Sebastian Castro <4603398+sea-bass@users.noreply.github.com> --- .../objectives/interpolate_to_joint_state.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml b/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml index cb0c2828..a2ea97c9 100644 --- a/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml +++ b/src/picknik_ur_base_config/objectives/interpolate_to_joint_state.xml @@ -5,7 +5,7 @@ - + From c6d0054d37391ea2c96db081caf7ba4356532adc Mon Sep 17 00:00:00 2001 From: Abishalini Sivaraman Date: Wed, 7 Jun 2023 12:43:40 -0600 Subject: [PATCH 7/7] Update src/picknik_ur_base_config/objectives/move_to_known_pose.xml Co-authored-by: Sebastian Castro <4603398+sea-bass@users.noreply.github.com> --- src/picknik_ur_base_config/objectives/move_to_known_pose.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/picknik_ur_base_config/objectives/move_to_known_pose.xml b/src/picknik_ur_base_config/objectives/move_to_known_pose.xml index ca741bcc..fe3f65f5 100644 --- a/src/picknik_ur_base_config/objectives/move_to_known_pose.xml +++ b/src/picknik_ur_base_config/objectives/move_to_known_pose.xml @@ -6,7 +6,7 @@ - +