Skip to content

Commit 9e4cead

Browse files
committed
chore: use img_data_as_collection everywhere
1 parent 503b5a4 commit 9e4cead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rerun_bridge/src/rerun_bridge/rerun_ros_interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void log_image(
116116
cv::Mat img = cv_bridge::toCvCopy(msg)->image;
117117
rec.log(
118118
entity_path,
119-
rerun::DepthImage(rerun::TensorBuffer::u16(img), width_height(img)).with_meter(1000)
119+
rerun::DepthImage(img_data_as_collection<uint16_t>(img), width_height(img)).with_meter(1000)
120120
);
121121
} else if (msg->encoding == "32FC1") {
122122
cv::Mat img = cv_bridge::toCvCopy(msg)->image;

0 commit comments

Comments
 (0)