diff --git a/catkin_ws/src/asclinic_pkg/src/Kalman.cpp b/catkin_ws/src/asclinic_pkg/src/Kalman.cpp index 678c87ec457c8265c9ff55d63592f5181e6c0a7a..20a53a4cb209a23ae69a8f4edae42ff971d540a9 100644 --- a/catkin_ws/src/asclinic_pkg/src/Kalman.cpp +++ b/catkin_ws/src/asclinic_pkg/src/Kalman.cpp @@ -127,7 +127,7 @@ void ImageAnswer(const asclinic_pkg::position& msg) { constrain_time = ros::Time::now(); constrain_duration = constrain_time - begin_time; float temp_value = constrain_duration.toSec(); - if (temp_value<30) { + if (temp_value < 50) { return; } // Check if elapsed time is less than 0.5 seconds