fix(gz_bridge): camera topic

This commit is contained in:
Ilya Uraev 2025-03-12 11:21:49 +03:00
parent b0d61ecc3a
commit 255c7b1b18
2 changed files with 18 additions and 2 deletions

View file

@ -3,7 +3,23 @@
gz_type_name: "gz.msgs.Clock" gz_type_name: "gz.msgs.Clock"
direction: GZ_TO_ROS direction: GZ_TO_ROS
- topic_name: "rgbd_camera" - topic_name: "/rgbd_camera/image/image"
ros_type_name: "sensor_msgs/msg/Image" ros_type_name: "sensor_msgs/msg/Image"
gz_type_name: "gz.msgs.Image" gz_type_name: "gz.msgs.Image"
direction: GZ_TO_ROS direction: GZ_TO_ROS
- topic_name: "/rgbd_camera/image/depth_image"
ros_type_name: "sensor_msgs/msg/Image"
gz_type_name: "gz.msgs.Image"
direction: GZ_TO_ROS
- topic_name: "/rgbd_camera/image/camera_info"
ros_type_name: "sensor_msgs/msg/CameraInfo"
gz_type_name: "gz.msgs.CameraInfo"
direction: GZ_TO_ROS
# TODO: add static TF publishing of the camera frame
# - topic_name: "/rgbd_camera/image/points"
# ros_type_name: "sensor_msgs/msg/PointCloud2"
# gz_type_name: "gz.msgs.PointCloudPacked"
# direction: GZ_TO_ROS

View file

@ -123,7 +123,7 @@
</collision> </collision>
<!-- RGBD Sensor --> <!-- RGBD Sensor -->
<sensor name="rgbd_camera" type="camera"> <sensor name="rgbd_camera" type="rgbd_camera">
<camera> <camera>
<horizontal_fov>1.047</horizontal_fov> <horizontal_fov>1.047</horizontal_fov>
<image> <image>