Skip to content

Commit

Permalink
remove default parameter in decoder_wrapper
Browse files Browse the repository at this point in the history
Signed-off-by: vividf <[email protected]>
  • Loading branch information
vividf committed May 31, 2024
1 parent a007db6 commit 98b0f5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nebula_ros/src/hesai/decoder_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ HesaiDecoderWrapper::HesaiDecoderWrapper(

if (config->sensor_model == drivers::SensorModel::HESAI_PANDARAT128) {
calibration_file_path_ =
parent_node->declare_parameter<std::string>("correction_file", "", param_read_write());
parent_node->declare_parameter<std::string>("correction_file", param_read_write());
} else {
calibration_file_path_ =
parent_node->declare_parameter<std::string>("calibration_file", "", param_read_write());
parent_node->declare_parameter<std::string>("calibration_file", param_read_write());
}

auto calibration_result = GetCalibrationData(calibration_file_path_, false);
Expand Down

0 comments on commit 98b0f5e

Please sign in to comment.