From cf30b926e09423dd6bd0b6d7650b86ef3d5298ea Mon Sep 17 00:00:00 2001 From: h-ohta Date: Tue, 25 Jun 2024 11:05:14 +0900 Subject: [PATCH] add rest piece --- .../config/sensor_kit_calibration.yaml | 76 +++++++--- .../config/sensors_calibration.yaml | 40 ++++++ aip_x2_description/urdf/gnss.xacro | 24 ++++ aip_x2_description/urdf/sensor_kit.xacro | 135 +++++++++++++----- aip_x2_description/urdf/sensors.xacro | 57 +++++++- 5 files changed, 274 insertions(+), 58 deletions(-) create mode 100644 aip_x2_description/urdf/gnss.xacro diff --git a/aip_x2_description/config/sensor_kit_calibration.yaml b/aip_x2_description/config/sensor_kit_calibration.yaml index 63879cf1..6139eee3 100644 --- a/aip_x2_description/config/sensor_kit_calibration.yaml +++ b/aip_x2_description/config/sensor_kit_calibration.yaml @@ -1,19 +1,19 @@ sensor_kit_base_link: # left upper - pandar/top_left/lidar_link: + pandar/top_left/lidar_base_link: x: 0.0 y: 0.0 z: 0.0 roll: 0.0 pitch: 0.0 - yaw: 1.570796 # 90 [deg] - pandar/top_left_bottom/lidar_link: + yaw: 3.141592 # 180 [deg] to turn the connector toward the vehicle + pandar/top_left_bottom/lidar_base_link: x: 0.0 y: -0.025 z: -0.115 - roll: 0.0 - pitch: 0.6981 # 40[deg] - yaw: 1.570796 # 90 [deg] + roll: 0.6981 # 40[deg] + pitch: 0.0 + yaw: 3.141592 # 180 [deg] to turn the connector toward the vehicle camera/top_left_front/camera_link: x: 0.12758 y: -0.04589 @@ -37,20 +37,20 @@ sensor_kit_base_link: yaw: 1.570796 # 90 [deg] # right upper - pandar/top_right/lidar_link: + pandar/top_right/lidar_base_link: x: 0.0 y: -2.15178 z: 0.0 roll: 0.0 pitch: 0.0 - yaw: -1.570796 # -90 [deg] - pandar/top_right_bottom/lidar_link: + yaw: 0.0 # to turn the connector toward the vehicle + pandar/top_right_bottom/lidar_base_link: x: 0.0 y: -2.12678 z: -0.115 - roll: 0.0 - pitch: 0.6981 # 40 [deg] - yaw: -1.570796 # -90 [deg] + roll: 0.6981 # 40 [deg] + pitch: 0.0 + yaw: 0.0 # to turn the connector toward the vehicle camera/top_right_front/camera_link: x: 0.12758 y: -2.10589 @@ -116,24 +116,58 @@ sensor_kit_base_link: roll: 0.0 pitch: 0.0 yaw: 0.0 + gnss/front/gnss_link: + x: 0.30133 + y: -1.07589 + z: 0.02861 + roll: 0.0 + pitch: 0.0 + yaw: 0.0 + + # rear upper + camera/rear_center/camera_link: + x: -6.06359 + y: -1.20389 + z: -0.14078 + roll: 0.0 + pitch: 0.0 + yaw: 3.141592 # 180 [deg] to turn the connector toward the vehicle + gnss/rear/gnss_link: + x: -5.77517 + y: -1.07589 + z: 0.02861 + roll: 0.0 + pitch: 0.0 + yaw: 0.0 # front lower - pandar/front/lidar_link: + pandar/front/lidar_base_link: x: 0.94058 y: -1.07589 z: -1.91826 roll: 0.0 pitch: 0.0 - yaw: 0.0 - pandar/front_bottom/lidar_link: + yaw: 1.570796 # 90 [deg] to turn the connector toward the vehicle + pandar/front_bottom/lidar_base_link: x: 0.96758 y: -1.07589 z: -2.15234 - roll: 0.0 - pitch: 0.6981 # 40[deg] - yaw: 0.0 - + roll: 0.6981 # 40[deg] + pitch: 0.0 + yaw: 1.570796 # 90 [deg] to turn the connector toward the vehicle # rear lower - - # GNSS + pandar/rear/lidar_base_link: + x: -6.08042 + y: -1.07589 + z: -1.91826 + roll: 0.0 + pitch: 0.0 + yaw: -1.570796 # 90 [deg] to turn the connector toward the vehicle + pandar/rear_bottom/lidar_base_link: + x: -6.10742 + y: -1.07589 + z: -2.15234 + roll: 0.6981 # 40[deg] + pitch: 0.0 + yaw: -1.570796 # 90 [deg] to turn the connector toward the vehicle diff --git a/aip_x2_description/config/sensors_calibration.yaml b/aip_x2_description/config/sensors_calibration.yaml index b2a2eb8c..fbb534a4 100644 --- a/aip_x2_description/config/sensors_calibration.yaml +++ b/aip_x2_description/config/sensors_calibration.yaml @@ -15,3 +15,43 @@ base_link: roll: 0.0 pitch: 0.0 yaw: 0.0 + + ars548/front_left/radar_link: + x: 5.37204 + y: 1.08537 + z: 0.73431 + roll: 0.0 + pitch: 0.0 + yaw: 1.2211 # 70 [deg] + + ars548/front_right/radar_link: + x: 5.37204 + y: -1.06642 + z: 0.73431 + roll: 0.0 + pitch: 0.0 + yaw: -1.2211 # 70 [deg] + + ars548/rear_center/radar_link: + x: -1.50704 + y: 0.0 + z: 0.78894 + roll: 0.0 + pitch: 0.0 + yaw: 3.141592 # 180 [deg] + + ars548/rear_left/radar_link: + x: -1.27564 + y: 1.07767 + z: 0.5487 + roll: 0.0 + pitch: 0.0 + yaw: 1.9189 # 110 [deg] + + ars548/rear_right/radar_link: + x: -1.27564 + y: -1.07768 + z: 0.5487 + roll: 0.0 + pitch: 0.0 + yaw: -1.9189 # 110 [deg] diff --git a/aip_x2_description/urdf/gnss.xacro b/aip_x2_description/urdf/gnss.xacro new file mode 100644 index 00000000..55002be0 --- /dev/null +++ b/aip_x2_description/urdf/gnss.xacro @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/aip_x2_description/urdf/sensor_kit.xacro b/aip_x2_description/urdf/sensor_kit.xacro index 886731ea..06b3a289 100644 --- a/aip_x2_description/urdf/sensor_kit.xacro +++ b/aip_x2_description/urdf/sensor_kit.xacro @@ -4,6 +4,7 @@ + @@ -25,23 +26,23 @@ + + + + + + + + + + + + diff --git a/aip_x2_description/urdf/sensors.xacro b/aip_x2_description/urdf/sensors.xacro index 805b0caa..5c7c30b5 100644 --- a/aip_x2_description/urdf/sensors.xacro +++ b/aip_x2_description/urdf/sensors.xacro @@ -19,7 +19,7 @@ + + + + + + + + + +