From 16a2a493d350c00c877d60e7eb4e4cfbde1cd13b Mon Sep 17 00:00:00 2001 From: amadeuszsz Date: Fri, 31 May 2024 20:50:12 +0900 Subject: [PATCH] fix(hesai): remove unused var Signed-off-by: amadeuszsz --- nebula_ros/src/hesai/hesai_ros_wrapper.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/nebula_ros/src/hesai/hesai_ros_wrapper.cpp b/nebula_ros/src/hesai/hesai_ros_wrapper.cpp index cb8b3ad21..4c965aee5 100644 --- a/nebula_ros/src/hesai/hesai_ros_wrapper.cpp +++ b/nebula_ros/src/hesai/hesai_ros_wrapper.cpp @@ -91,16 +91,13 @@ nebula::Status HesaiRosWrapper::DeclareAndGetSensorConfigParams() { rcl_interfaces::msg::ParameterDescriptor descriptor = param_read_write(); - uint16_t default_value; RCLCPP_DEBUG_STREAM(get_logger(), config.sensor_model); if (config.sensor_model == nebula::drivers::SensorModel::HESAI_PANDARAT128) { descriptor.additional_constraints = "200, 400"; descriptor.integer_range = int_range(200, 400, 200); - default_value = 200; } else { descriptor.additional_constraints = "300, 600, 1200"; descriptor.integer_range = int_range(300, 1200, 300); - default_value = 600; } config.rotation_speed = declare_parameter("rotation_speed", descriptor);