mirror of
https://github.com/orbbec/OrbbecSDK_ROS2.git
synced 2026-10-04 12:07:46 +08:00
Fix the naming error issue in the color function.
This commit is contained in:
@@ -853,7 +853,7 @@ void OBCameraNode::onNewFrameSetCallback(const std::shared_ptr<ob::FrameSet> &fr
|
||||
}
|
||||
}
|
||||
|
||||
void OBCameraNode::noNewColorFrameCallback() {
|
||||
void OBCameraNode::onNewColorFrameCallback() {
|
||||
while (enable_stream_[COLOR] && rclcpp::ok() && is_running_.load()) {
|
||||
std::unique_lock<std::mutex> lock(colorFrameMtx_);
|
||||
colorFrameCV_.wait(lock, [this]() { return !colorFrameQueue_.empty() || !(is_running_.load()); });
|
||||
|
||||
Reference in New Issue
Block a user