Skip to content

Commit aa66a9f

Browse files
authored
Merge pull request #133 from neufieldrobotics/hotfix/wil_clear_camera_msg_name_queue
will clear mesg.name msg queue every time save_x_frame methods are in…
2 parents 9d529a0 + 80006f4 commit aa66a9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/capture.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -837,6 +837,7 @@ void acquisition::Capture::save_mat_frames(int dump) {
837837
create_cam_directories();
838838

839839
string timestamp;
840+
mesg.name.clear();
840841
for (unsigned int i = 0; i < numCameras_; i++) {
841842

842843
if (dump) {
@@ -924,6 +925,7 @@ void acquisition::Capture::save_binary_frames(int dump) {
924925
create_cam_directories();
925926

926927
string timestamp;
928+
mesg.name.clear();
927929
for (unsigned int i = 0; i < numCameras_; i++) {
928930

929931
if (dump) {

0 commit comments

Comments
 (0)