mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-12 23:39:50 +08:00
Fix compilation issues caused by modifying camera_info data content
This commit is contained in:
@@ -2794,6 +2794,7 @@ void OBCameraNode::onNewFrameCallback(const std::shared_ptr<ob::Frame> &frame,
|
|||||||
intrinsic = video_stream_profile->getIntrinsic();
|
intrinsic = video_stream_profile->getIntrinsic();
|
||||||
distortion = video_stream_profile->getDistortion();
|
distortion = video_stream_profile->getDistortion();
|
||||||
if (pid == DABAI_MAX_PID) {
|
if (pid == DABAI_MAX_PID) {
|
||||||
|
auto camera_params = pipeline_->getCameraParam();
|
||||||
// use color param
|
// use color param
|
||||||
intrinsic = camera_params.rgbIntrinsic;
|
intrinsic = camera_params.rgbIntrinsic;
|
||||||
distortion = camera_params.rgbDistortion;
|
distortion = camera_params.rgbDistortion;
|
||||||
|
|||||||
Reference in New Issue
Block a user