From 0223e5445d6a0b86e9302b23c30b11cf9d8e64b7 Mon Sep 17 00:00:00 2001 From: ob-yalian Date: Thu, 7 May 2026 16:22:58 +0800 Subject: [PATCH] Refactor code structure for improved readability and maintainability --- ...ra1_frame.STL => camera_left_ir_frame.STL} | Bin ...e.STL => camera_left_ir_optical_frame.STL} | Bin .../{base_link.STL => camera_link.STL} | Bin ...a2_frame.STL => camera_right_ir_frame.STL} | Bin ....STL => camera_right_ir_optical_frame.STL} | Bin .../urdf/gemini345Lg.urdf.xacro | 52 +++++++++--------- 6 files changed, 26 insertions(+), 26 deletions(-) rename orbbec_description/meshes/gemini345Lg/{camera_infra1_frame.STL => camera_left_ir_frame.STL} (100%) rename orbbec_description/meshes/gemini345Lg/{camera_infra1_optical_frame.STL => camera_left_ir_optical_frame.STL} (100%) rename orbbec_description/meshes/gemini345Lg/{base_link.STL => camera_link.STL} (100%) rename orbbec_description/meshes/gemini345Lg/{camera_infra2_frame.STL => camera_right_ir_frame.STL} (100%) rename orbbec_description/meshes/gemini345Lg/{camera_infra2_optical_frame.STL => camera_right_ir_optical_frame.STL} (100%) diff --git a/orbbec_description/meshes/gemini345Lg/camera_infra1_frame.STL b/orbbec_description/meshes/gemini345Lg/camera_left_ir_frame.STL similarity index 100% rename from orbbec_description/meshes/gemini345Lg/camera_infra1_frame.STL rename to orbbec_description/meshes/gemini345Lg/camera_left_ir_frame.STL diff --git a/orbbec_description/meshes/gemini345Lg/camera_infra1_optical_frame.STL b/orbbec_description/meshes/gemini345Lg/camera_left_ir_optical_frame.STL similarity index 100% rename from orbbec_description/meshes/gemini345Lg/camera_infra1_optical_frame.STL rename to orbbec_description/meshes/gemini345Lg/camera_left_ir_optical_frame.STL diff --git a/orbbec_description/meshes/gemini345Lg/base_link.STL b/orbbec_description/meshes/gemini345Lg/camera_link.STL similarity index 100% rename from orbbec_description/meshes/gemini345Lg/base_link.STL rename to orbbec_description/meshes/gemini345Lg/camera_link.STL diff --git a/orbbec_description/meshes/gemini345Lg/camera_infra2_frame.STL b/orbbec_description/meshes/gemini345Lg/camera_right_ir_frame.STL similarity index 100% rename from orbbec_description/meshes/gemini345Lg/camera_infra2_frame.STL rename to orbbec_description/meshes/gemini345Lg/camera_right_ir_frame.STL diff --git a/orbbec_description/meshes/gemini345Lg/camera_infra2_optical_frame.STL b/orbbec_description/meshes/gemini345Lg/camera_right_ir_optical_frame.STL similarity index 100% rename from orbbec_description/meshes/gemini345Lg/camera_infra2_optical_frame.STL rename to orbbec_description/meshes/gemini345Lg/camera_right_ir_optical_frame.STL diff --git a/orbbec_description/urdf/gemini345Lg.urdf.xacro b/orbbec_description/urdf/gemini345Lg.urdf.xacro index 305749e1..c6d9d69e 100644 --- a/orbbec_description/urdf/gemini345Lg.urdf.xacro +++ b/orbbec_description/urdf/gemini345Lg.urdf.xacro @@ -5,7 +5,7 @@ + name="camera_link"> + filename="${mesh_path}camera_link.STL" /> @@ -40,7 +40,7 @@ rpy="0 0 0" /> + filename="${mesh_path}camera_link.STL" /> @@ -91,14 +91,14 @@ xyz="-0.039695 -0.0139999995 -0.011" rpy="0 0 0" /> + link="camera_link" /> + name="camera_left_ir_frame"> + filename="${mesh_path}camera_left_ir_frame.STL" /> @@ -133,12 +133,12 @@ rpy="0 0 0" /> + filename="${mesh_path}camera_left_ir_frame.STL" /> + link="camera_left_ir_frame" /> + name="camera_left_ir_optical_frame"> + filename="${mesh_path}camera_left_ir_optical_frame.STL" /> @@ -186,25 +186,25 @@ rpy="0 0 0" /> + filename="${mesh_path}camera_left_ir_optical_frame.STL" /> + link="camera_left_ir_frame" /> + link="camera_left_ir_optical_frame" /> + name="camera_right_ir_frame"> + filename="${mesh_path}camera_right_ir_frame.STL" /> @@ -239,12 +239,12 @@ rpy="0 0 0" /> + filename="${mesh_path}camera_right_ir_frame.STL" /> + link="camera_right_ir_frame" /> + name="camera_right_ir_optical_frame"> + filename="${mesh_path}camera_right_ir_optical_frame.STL" /> @@ -292,20 +292,20 @@ rpy="0 0 0" /> + filename="${mesh_path}camera_right_ir_optical_frame.STL" /> + link="camera_right_ir_frame" /> + link="camera_right_ir_optical_frame" />