diff --git a/zed_components/src/zed_camera/include/zed_camera_component.hpp b/zed_components/src/zed_camera/include/zed_camera_component.hpp index f76dd924..f0b4b7c5 100644 --- a/zed_components/src/zed_camera/include/zed_camera_component.hpp +++ b/zed_components/src/zed_camera/include/zed_camera_component.hpp @@ -672,7 +672,7 @@ class ZedCamera : public rclcpp::Node std::thread mVideoDepthThread; // RGB/Depth data publish thread std::thread mPcThread; // Point Cloud publish thread std::thread mSensThread; // Sensors data publish thread - std::atomic mThreadStop = false; + std::atomic mThreadStop; rclcpp::TimerBase::SharedPtr mInitTimer; rclcpp::TimerBase::SharedPtr mPathTimer; rclcpp::TimerBase::SharedPtr mFusedPcTimer;