diff --git a/src/description/urdf/athena_drive.urdf.xacro b/src/description/urdf/athena_drive.urdf.xacro index 6a5756f..bc69757 100644 --- a/src/description/urdf/athena_drive.urdf.xacro +++ b/src/description/urdf/athena_drive.urdf.xacro @@ -15,6 +15,7 @@ + @@ -49,6 +50,10 @@ + + + + - \ No newline at end of file + diff --git a/src/description/urdf/depth_camera.xacro b/src/description/urdf/depth_camera.xacro new file mode 100644 index 0000000..14d6483 --- /dev/null +++ b/src/description/urdf/depth_camera.xacro @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 30 + depth_camera + + 1.047198 + + 640 + 480 + R_FLOAT32 + + + 0.1 + 10.0 + + + + ogre2 + + + + + + diff --git a/src/simulation/launch/bridge.launch.py b/src/simulation/launch/bridge.launch.py index d4ce7a9..60d5040 100644 --- a/src/simulation/launch/bridge.launch.py +++ b/src/simulation/launch/bridge.launch.py @@ -23,6 +23,17 @@ def generate_launch_description(): ], ), + Node( + package='ros_gz_bridge', + executable='parameter_bridge', + name='depth_camera_bridge', + output='screen', + arguments=[ + '/depth_camera@sensor_msgs/msg/Image[ignition.msgs.Image', + '/depth_camera/points@sensor_msgs/msg/PointCloud2[ignition.msgs.PointCloudPacked', + ], + ), + Node( package='ros_gz_bridge', executable='parameter_bridge',