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::LEFT, img_params.in_left);
|
||||||
SetIntrinsics(Stream::RIGHT, img_params.in_right);
|
SetIntrinsics(Stream::RIGHT, img_params.in_right);
|
||||||
SetExtrinsics(Stream::LEFT, Stream::RIGHT, img_params.ex_right_to_left);
|
SetExtrinsics(Stream::LEFT, Stream::RIGHT, img_params.ex_right_to_left);
|
||||||
VLOG(2) << "Intrinsics left: {" << GetIntrinsics(Stream::LEFT) << "}";
|
VLOG(2) << "Intrinsics left: {" << *GetIntrinsics(Stream::LEFT) << "}";
|
||||||
VLOG(2) << "Intrinsics right: {" << GetIntrinsics(Stream::RIGHT) << "}";
|
VLOG(2) << "Intrinsics right: {" << *GetIntrinsics(Stream::RIGHT) << "}";
|
||||||
VLOG(2) << "Extrinsics left to right: {"
|
VLOG(2) << "Extrinsics left to right: {"
|
||||||
<< GetExtrinsics(Stream::LEFT, Stream::RIGHT) << "}";
|
<< GetExtrinsics(Stream::LEFT, Stream::RIGHT) << "}";
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -164,6 +164,7 @@ const char *to_string(const Format &value) {
|
||||||
CASE(GREY)
|
CASE(GREY)
|
||||||
CASE(YUYV)
|
CASE(YUYV)
|
||||||
CASE(BGR888)
|
CASE(BGR888)
|
||||||
|
CASE(RGB888)
|
||||||
default:
|
default:
|
||||||
return "Format::UNKNOWN";
|
return "Format::UNKNOWN";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user