mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-12 23:39:50 +08:00
fix: extend metadata publishing to include Gemini435Le PID
This commit is contained in:
@@ -3128,7 +3128,7 @@ void OBCameraNode::onNewFrameCallback(const std::shared_ptr<ob::Frame> &frame,
|
|||||||
}
|
}
|
||||||
CHECK(camera_info_publishers_.count(stream_index) > 0);
|
CHECK(camera_info_publishers_.count(stream_index) > 0);
|
||||||
camera_info_publishers_[stream_index]->publish(camera_info);
|
camera_info_publishers_[stream_index]->publish(camera_info);
|
||||||
if (isGemini335PID(pid)) {
|
if (isGemini335PID(pid) || isGemini435LePID(pid)) {
|
||||||
publishMetadata(frame, stream_index, camera_info.header);
|
publishMetadata(frame, stream_index, camera_info.header);
|
||||||
}
|
}
|
||||||
CHECK_NOTNULL(image_publishers_[stream_index]);
|
CHECK_NOTNULL(image_publishers_[stream_index]);
|
||||||
|
|||||||
Reference in New Issue
Block a user