mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 12:07:46 +08:00
Modify the py file in the launch to fix the abnormal behavior of multiple device hot-swapping in Foxy ROS2 version.
This commit is contained in:
@@ -814,7 +814,6 @@ void OBCameraNode::onNewFrameSetCallback(const std::shared_ptr<ob::FrameSet> &fr
|
||||
}
|
||||
|
||||
//is_color_frame_decoded_ = decodeColorFrameToBuffer(frame_set->colorFrame(), rgb_buffer_);
|
||||
//publishPointCloud(frame_set);
|
||||
std::shared_ptr<ob::ColorFrame> colorFrame = frame_set->colorFrame();
|
||||
if (enable_stream_[COLOR] && colorFrame){
|
||||
std::lock_guard<std::mutex> colorLock(colorFrameMtx_);
|
||||
|
||||
Reference in New Issue
Block a user