Skip to content

Commit

Permalink
Be more specific about using persist flag and port with 0 value
Browse files Browse the repository at this point in the history
  • Loading branch information
Samahu committed Aug 20, 2024
1 parent 3721f32 commit e806e79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/os_sensor_nodelet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}


Expand Down

0 comments on commit e806e79

Please sign in to comment.