diff --git a/epuck_ros2_driver/src/driver.cpp b/epuck_ros2_driver/src/driver.cpp index 823daba9..bba37488 100644 --- a/epuck_ros2_driver/src/driver.cpp +++ b/epuck_ros2_driver/src/driver.cpp @@ -67,9 +67,9 @@ extern "C" { #define ODOM_OVERFLOW_GRACE_TICKS 2000 #define GROUND_SENSOR_ADDRESS 0x60 #define INFRARED_MAX_RANGE 0.025f -#define INFRARED_MIN_RANGE 0.009f +#define INFRARED_MIN_RANGE 0.045f #define TOF_MAX_RANGE 1.0f -#define TOF_MIN_RANGE 0.005f +#define TOF_MIN_RANGE 0.045f #define GROUND_MIN_RANGE 0.0f #define GROUND_MAX_RANGE 0.016f #define DEFAULT_WHEEL_DISTANCE 0.05685f