Camera

The Camera display creates a new rendering window from the perspective of a camera, and overlays the image from the camera on top of it. For this display to work properly the sensor_msgs/Image topic subscribed to must be part of a camera, and must have a sensor_msgs/CameraInfo topic named camera_info alongside it. For example:

/wide_stereo/left/image_rect
/wide_stereo/left/camera_info

The Camera display assumes a z-forward x-right frame, rather than the normal x-forward y-left robot frame.

Properties

Name

Description

Valid Values

Default

Alpha

The amount of transparency to apply to the image overlay

[0-1]

1

Image Topic

The sensor_msgs/Image topic to subscribe to. The display will automatically generate the sensor_msgs/CameraInfo topic based on the image topic.

Any valid Graph Resource Name

Empty String

Supported Image Encodings

rviz currently supports RGB8, RGBA8, BGR8, BGRA8, MONO8, MONO16, bayer encoded (treated as MONO8), 8UC4 and 8SC4 (treated as BGRA8), 8UC3 and 8SC3 (treated as BGR8), 8UC1 and 8SC1 (treated as MONO8), 16UC1 and 16SC1 (treated as MONO16).

Wiki: rviz/DisplayTypes/Camera (last edited 2017-09-26 20:09:05 by SoheilKoushan)