fixed save 10 image

This commit is contained in:
Joe Dong
2024-01-29 10:17:36 +08:00
parent 43718821f7
commit 5685fa0c7a
3 changed files with 6 additions and 3 deletions
+1
View File
@@ -645,6 +645,7 @@ void OBCameraNode::saveImageCallback(const std::shared_ptr<std_srvs::srv::Empty:
for (const auto& stream_index : IMAGE_STREAMS) {
if (enable_stream_[stream_index]) {
save_images_[stream_index] = true;
save_images_count_[stream_index] = 10;
}
}
}