mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 03:57:46 +08:00
fixed crash
This commit is contained in:
@@ -523,7 +523,7 @@ bool OBCameraNode::toggleSensor(const stream_index_pair& stream_index, bool enab
|
||||
pipeline_->stop();
|
||||
enable_stream_[stream_index] = enabled;
|
||||
setupProfiles();
|
||||
startPipeline();
|
||||
startStreams();
|
||||
return true;
|
||||
} catch (const ob::Error& e) {
|
||||
msg = e.getMessage();
|
||||
|
||||
Reference in New Issue
Block a user