I get a multiple definition error that I never got before which is not clear to me why!
After checking it looks like there are two kSessionTimeout defined where we have this constant defined two times:
|
constexpr std::chrono::seconds VisionaryControl::kSessionTimeout; |
|
static constexpr std::chrono::seconds kSessionTimeout = std::chrono::seconds(5); |
in order to avoid this error I had to remove the line VisionaryControl.cpp and use this in the VisionaryControl.h
static constexpr std::chrono::seconds kSessionTimeout = std::chrono::seconds(5);
I get a multiple definition error that I never got before which is not clear to me why!
After checking it looks like there are two kSessionTimeout defined where we have this constant defined two times:
sick_visionary_cpp_base/src/VisionaryControl.cpp
Line 27 in a2361e4
sick_visionary_cpp_base/src/VisionaryControl.h
Line 36 in a2361e4
in order to avoid this error I had to remove the line VisionaryControl.cpp and use this in the VisionaryControl.h