Modify the print format

This commit is contained in:
datean
2024-12-23 22:39:41 +08:00
parent 44962d263a
commit 345a96b479
+5 -3
View File
@@ -1418,9 +1418,11 @@ void OBCameraNode::setupPipelineConfig() {
if (stream_index == COLOR && enable_stream_[COLOR] && align_filter_) {
auto video_profile = profile;
std::cout << "color video_profile: " << video_profile->getWidth() << "x"
<< video_profile->getHeight() << " " << video_profile->getFps() << "fps "
<< magic_enum::enum_name(video_profile->getFormat()) << std::endl;
RCLCPP_INFO_STREAM(
logger_, "color video_profile: " << video_profile->getWidth() << "x"
<< video_profile->getHeight() << " "
<< video_profile->getFps() << "fps "
<< magic_enum::enum_name(video_profile->getFormat()));
align_filter_->setAlignToStreamProfile(video_profile);
}