fix(device): fix print intrinsics and format
This commit is contained in:
parent
6988ae803b
commit
5322fc38f4
|
@ -652,8 +652,8 @@ void Device::UpdateStreamIntrinsics(
|
|||
SetIntrinsics(Stream::LEFT, img_params.in_left);
|
||||
SetIntrinsics(Stream::RIGHT, img_params.in_right);
|
||||
SetExtrinsics(Stream::LEFT, Stream::RIGHT, img_params.ex_right_to_left);
|
||||
VLOG(2) << "Intrinsics left: {" << GetIntrinsics(Stream::LEFT) << "}";
|
||||
VLOG(2) << "Intrinsics right: {" << GetIntrinsics(Stream::RIGHT) << "}";
|
||||
VLOG(2) << "Intrinsics left: {" << *GetIntrinsics(Stream::LEFT) << "}";
|
||||
VLOG(2) << "Intrinsics right: {" << *GetIntrinsics(Stream::RIGHT) << "}";
|
||||
VLOG(2) << "Extrinsics left to right: {"
|
||||
<< GetExtrinsics(Stream::LEFT, Stream::RIGHT) << "}";
|
||||
break;
|
||||
|
|
|
@ -164,6 +164,7 @@ const char *to_string(const Format &value) {
|
|||
CASE(GREY)
|
||||
CASE(YUYV)
|
||||
CASE(BGR888)
|
||||
CASE(RGB888)
|
||||
default:
|
||||
return "Format::UNKNOWN";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user