diff --git a/nebula_ros/launch/velodyne_launch_all_hw.xml b/nebula_ros/launch/velodyne_launch_all_hw.xml index 6d0a9acc9..78218773b 100644 --- a/nebula_ros/launch/velodyne_launch_all_hw.xml +++ b/nebula_ros/launch/velodyne_launch_all_hw.xml @@ -19,7 +19,7 @@ - + @@ -30,7 +30,7 @@ - + diff --git a/nebula_ros/src/velodyne/velodyne_decoder_ros_wrapper.cpp b/nebula_ros/src/velodyne/velodyne_decoder_ros_wrapper.cpp index 538cb52c8..8423c0e83 100644 --- a/nebula_ros/src/velodyne/velodyne_decoder_ros_wrapper.cpp +++ b/nebula_ros/src/velodyne/velodyne_decoder_ros_wrapper.cpp @@ -252,9 +252,9 @@ Status VelodyneDriverRosWrapper::GetParameters( descriptor.read_only = false; descriptor.dynamic_typing = false; descriptor.additional_constraints = ""; - this->declare_parameter("ring_section_filter", false, descriptor); + this->declare_parameter("enable_ring_section_filter", false, descriptor); sensor_configuration.ring_section_filter = - this->get_parameter("ring_section_filter").as_bool(); + this->get_parameter("enable_ring_section_filter").as_bool(); if (sensor_configuration.ring_section_filter) { RCLCPP_DEBUG_STREAM(this->get_logger(), "Ring section filter is active."); } else {