From e806e79d6f793b594243f697e836a9a5e0fd4108 Mon Sep 17 00:00:00 2001 From: Ussama Naal Date: Tue, 20 Aug 2024 10:10:35 -0700 Subject: [PATCH] Be more specific about using persist flag and port with 0 value --- src/os_sensor_nodelet.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/os_sensor_nodelet.cpp b/src/os_sensor_nodelet.cpp index 75a15a21..c193cda8 100644 --- a/src/os_sensor_nodelet.cpp +++ b/src/os_sensor_nodelet.cpp @@ -320,7 +320,8 @@ sensor::sensor_config OusterSensor::parse_config_from_ros_parameters() { persist_config = nh.param("persist_config", false); if (persist_config && (lidar_port == 0 || imu_port == 0)) { NODELET_WARN("When using persist_config it is recommended to not " - "use 0 for port value"); + "use 0 for port values as this currently will trigger sensor reinit " + "event each time"); }