From 0ef2dc78d043ab00a03e7d5c3ef7c07c81a16b42 Mon Sep 17 00:00:00 2001 From: marqrazz Date: Mon, 2 Oct 2023 11:18:49 -0600 Subject: [PATCH] cleanup and add defaults for tags 2 & 3 --- .../objectives/apriltag2_grasp_offset.yaml | 8 ++++++++ .../objectives/apriltag3_grasp_offset.yaml | 8 ++++++++ .../objectives/tree_nodes_model.xml | 4 ++-- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 src/picknik_ur_gazebo_config/objectives/apriltag2_grasp_offset.yaml create mode 100644 src/picknik_ur_gazebo_config/objectives/apriltag3_grasp_offset.yaml diff --git a/src/picknik_ur_gazebo_config/objectives/apriltag2_grasp_offset.yaml b/src/picknik_ur_gazebo_config/objectives/apriltag2_grasp_offset.yaml new file mode 100644 index 00000000..bee43d3c --- /dev/null +++ b/src/picknik_ur_gazebo_config/objectives/apriltag2_grasp_offset.yaml @@ -0,0 +1,8 @@ +GraspOffset: + x: -0.1 + y: 0.0 + z: 0.05 + qx: 0.707 + qy: -0.707 + qz: 0.0 + qw: 0.0 diff --git a/src/picknik_ur_gazebo_config/objectives/apriltag3_grasp_offset.yaml b/src/picknik_ur_gazebo_config/objectives/apriltag3_grasp_offset.yaml new file mode 100644 index 00000000..bee43d3c --- /dev/null +++ b/src/picknik_ur_gazebo_config/objectives/apriltag3_grasp_offset.yaml @@ -0,0 +1,8 @@ +GraspOffset: + x: -0.1 + y: 0.0 + z: 0.05 + qx: 0.707 + qy: -0.707 + qz: 0.0 + qw: 0.0 diff --git a/src/picknik_ur_gazebo_config/objectives/tree_nodes_model.xml b/src/picknik_ur_gazebo_config/objectives/tree_nodes_model.xml index 4296b7e2..eee414d6 100644 --- a/src/picknik_ur_gazebo_config/objectives/tree_nodes_model.xml +++ b/src/picknik_ur_gazebo_config/objectives/tree_nodes_model.xml @@ -3,11 +3,11 @@

- Samples the pose of an Apriltag and returns the average measurement. + Samples the pose of an AprilTag and returns the average measurement.

The number of times to sample the pose. - The Apriltag ID to detect. + The AprilTag ID to detect. The configuration file for detecting AprilTags. The maximum distance allow between the average pose and the new sample (Euclidean distance between pose positions). The maximum angle allow between the average pose and the new sample (shortest angle between two pose quaternions).