diff --git a/lfr_state_machine.cpp b/lfr_state_machine.cpp index 0404841..e5eddae 100644 --- a/lfr_state_machine.cpp +++ b/lfr_state_machine.cpp @@ -73,7 +73,7 @@ void LFR_StateMachine::parseString(string s) } LFR_StateMachine::LFR_StateMachine(): - autonomousMode(videoHeight, videoWidth, thresholdBinary, gaussKernelSize, maxSpeed [&](std::exception const &ex) + autonomousMode(videoHeight, videoWidth, thresholdBinary, gaussKernelSize, maxSpeed, [&](std::exception const &ex) { std::unique_lock lock(mutex); std::cerr<<"camera exception:"<