Skip to content

Commit 1fbb8df

Browse files
committed
Fixed bug that caused build failure
Signed-off-by: Bram Odrosslij <bram.odros@gmail.com>
1 parent d79037f commit 1fbb8df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎nav2_regulated_pure_pursuit_controller/src/parameter_handler.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ ParameterHandler::updateParametersCallback(
322322
params_.transform_tolerance = parameter.as_double();
323323
} else if (param_name == plugin_name_ + ".max_robot_pose_search_dist") {
324324
params_.max_robot_pose_search_dist = parameter.as_double();
325-
} else if (name == plugin_name_ + ".approach_velocity_scaling_dist") {
325+
} else if (param_name == plugin_name_ + ".approach_velocity_scaling_dist") {
326326
params_.approach_velocity_scaling_dist = parameter.as_double();
327327
}
328328
} else if (param_type == ParameterType::PARAMETER_BOOL) {

0 commit comments

Comments
 (0)