Skip to content

Commit

Permalink
Fixed sanity check failure flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Elliot Preston-Krebs committed Jan 12, 2025
1 parent 9903064 commit ae4d087
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ void OdometryICPModule::run_(QueryCache &qdata0, OutputCache &,
float mean_dR = 0;
Eigen::MatrixXd all_tfs = Eigen::MatrixXd::Zero(4, 4);
bool refinement_stage = false;
bool solver_failed = false;
int refinement_step = 0;

CLOG(DEBUG, "radar.odometry_icp") << "Start the ICP optimization loop.";
Expand Down Expand Up @@ -492,7 +493,6 @@ void OdometryICPModule::run_(QueryCache &qdata0, OutputCache &,
GaussNewtonSolver::Params params;
params.verbose = config_->verbose;
params.max_iterations = (unsigned int)config_->max_iterations;
solver_failed = false;

GaussNewtonSolver solver(problem, params);
try {
Expand Down

0 comments on commit ae4d087

Please sign in to comment.