-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Hi,
I hope you are well. I have tried using the RGB-D sensor to then view grayscale depth images in Rviz however I just see a black screen as the output. My initial thought was maybe the ouput image from the /camera/depth_image being 32FC1 being the issue and was wodneirng if this is the case for you. Otherwise, I am not really sure why this isn't working. I also used the exact same xacro code for the 'rgb d' code as shown in your code.
My gz_bridge.yaml file is:
-
ros_topic_name: "clock"
gz_topic_name: "clock"
ros_type_name: "rosgraph_msgs/msg/Clock"
gz_type_name: "gz.msgs.Clock"
direction: GZ_TO_ROS -
ros_topic_name: "scan"
gz_topic_name: "scan"
ros_type_name: "sensor_msgs/msg/LaserScan"
gz_type_name: "gz.msgs.LaserScan"
direction: GZ_TO_ROS -
ros_topic_name: "camera/camera_info"
gz_topic_name: "camera/camera_info"
ros_type_name: "sensor_msgs/msg/CameraInfo"
gz_type_name: "gz.msgs.CameraInfo"
direction: GZ_TO_ROS -
ros_topic_name: "camera/image_raw"
gz_topic_name: "camera/image"
ros_type_name: "sensor_msgs/msg/Image"
gz_type_name: "gz.msgs.Image"
direction: GZ_TO_ROS -
ros_topic_name: "camera/depth_image"
gz_topic_name: "camera/depth_image"
ros_type_name: "sensor_msgs/msg/Image"
gz_type_name: "gz.msgs.Image"
direction: GZ_TO_ROS -
ros_topic_name: "camera/points"
gz_topic_name: "camera/points"
ros_type_name: "sensor_msgs/msg/PointCloud2"
gz_type_name: "gz.msgs.PointCloudPacked"
direction: GZ_TO_ROS
Finally a picture of my output is as follows: