diff --git a/nebula_ros/src/velodyne/velodyne_decoder_ros_wrapper.cpp b/nebula_ros/src/velodyne/velodyne_decoder_ros_wrapper.cpp index 8423c0e83..5de2ac24c 100644 --- a/nebula_ros/src/velodyne/velodyne_decoder_ros_wrapper.cpp +++ b/nebula_ros/src/velodyne/velodyne_decoder_ros_wrapper.cpp @@ -271,7 +271,7 @@ Status VelodyneDriverRosWrapper::GetParameters( this->declare_parameter("excluded_ring_sectors", "", descriptor); std::string sectors = this->get_parameter("excluded_ring_sectors").as_string(); - // Put sectors string inside square bracktes so that it can be a valid JSON array + // Put sectors string inside square brackets so that it can be a valid JSON array sectors = "[" + sectors + "]"; // Parse the JSON string