From f282e89dcaad1ae7c0e2ffcfe8120ff225c1e32d Mon Sep 17 00:00:00 2001 From: Vatan Aksoy Tezer Date: Fri, 24 Sep 2021 17:22:05 +0300 Subject: [PATCH 1/2] Make realsense parametric --- stretch_gazebo/launch/gazebo.launch | 4 +- stretch_gazebo/urdf/stretch_gazebo.urdf.xacro | 251 +++++++++--------- 2 files changed, 129 insertions(+), 126 deletions(-) diff --git a/stretch_gazebo/launch/gazebo.launch b/stretch_gazebo/launch/gazebo.launch index 6b75bcd5..cbb78fe6 100644 --- a/stretch_gazebo/launch/gazebo.launch +++ b/stretch_gazebo/launch/gazebo.launch @@ -9,7 +9,7 @@ - + @@ -21,7 +21,7 @@ - + + @@ -70,130 +71,132 @@ - - - 0 0 0 0 0 0 - - 1.5009831567151233 - - 640 - 480 - RGB_INT8 - - - 0.1 - 100 - - - gaussian - 0.0 - 0.007 - - - 1 - 30 - 0 - - - - - 0 0 0 0 0 0 - - 1.5009831567151233 - - 640 - 480 - L_INT8 - - - 0.1 - 100 - - - gaussian - 0.0 - 0.007 - - - 1 - 30 - 0 - - - - - 0 0 0 0 0 0 - - 1.5009831567151233 - - 640 - 480 - L_INT8 - - - 0.1 - 100 - - - gaussian - 0.0 - 0.007 - - - 1 - 30 - 0 - - - - - 0 0 0 0 0 0 - - 1.5009831567151233 - - 640 - 480 - - - 0.1 - 100 - - - gaussian - 0.0 - 0.007 - - - 1 - 30 - 0 - - - - - 30 - 30 - 30 - depth/image_raw - depth/camera_info - color/image_raw - color/camera_info - infrared/image_raw - infrared/camera_info - infrared2/image_raw - infrared2/camera_info - camera_color_optical_frame - camera_depth_optical_frame - camera_left_ir_optical_frame - camera_right_ir_optical_frame - 0.1 - 10 - 1 - depth/color/points - 0.15 - 10 - - + + + + 0 0 0 0 0 0 + + 1.5009831567151233 + + 640 + 480 + RGB_INT8 + + + 0.1 + 100 + + + gaussian + 0.0 + 0.007 + + + 1 + 30 + 0 + + + + + 0 0 0 0 0 0 + + 1.5009831567151233 + + 640 + 480 + L_INT8 + + + 0.1 + 100 + + + gaussian + 0.0 + 0.007 + + + 1 + 30 + 0 + + + + + 0 0 0 0 0 0 + + 1.5009831567151233 + + 640 + 480 + L_INT8 + + + 0.1 + 100 + + + gaussian + 0.0 + 0.007 + + + 1 + 30 + 0 + + + + + 0 0 0 0 0 0 + + 1.5009831567151233 + + 640 + 480 + + + 0.1 + 100 + + + gaussian + 0.0 + 0.007 + + + 1 + 30 + 0 + + + + + 30 + 30 + 30 + depth/image_raw + depth/camera_info + color/image_raw + color/camera_info + infrared/image_raw + infrared/camera_info + infrared2/image_raw + infrared2/camera_info + camera_color_optical_frame + camera_depth_optical_frame + camera_left_ir_optical_frame + camera_right_ir_optical_frame + 0.1 + 10 + 1 + depth/color/points + 0.15 + 10 + + + true From b428b06eeac8640bc8bcb99a0ddc6268a2205faa Mon Sep 17 00:00:00 2001 From: Vatan Aksoy Tezer Date: Fri, 24 Sep 2021 17:34:53 +0300 Subject: [PATCH 2/2] Correct topic name in rviz config --- stretch_gazebo/config/sim.rviz | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stretch_gazebo/config/sim.rviz b/stretch_gazebo/config/sim.rviz index e23aa3dc..975d3520 100644 --- a/stretch_gazebo/config/sim.rviz +++ b/stretch_gazebo/config/sim.rviz @@ -318,7 +318,7 @@ Visualization Manager: Size (Pixels): 3 Size (m): 0.009999999776482582 Style: Flat Squares - Topic: /realsense/depth/color/points + Topic: /camera/depth/color/points Unreliable: false Use Fixed Frame: true Use rainbow: true