Skip to content

Commit

Permalink
remove default values for declare_parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Mehmet Dogru <42mehmetdogru42@gmail.com>
  • Loading branch information
mehmetdogru committed Apr 5, 2023
1 parent 7a3027b commit 56f1871
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,8 @@ LaneFollowingParameters BehaviorPathPlannerNode::getLaneFollowingParam()
// finding closest lanelet
{
p.distance_threshold =
declare_parameter("lane_following.closest_lanelet.distance_threshold", 5.0);
p.yaw_threshold = declare_parameter("lane_following.closest_lanelet.yaw_threshold", 0.79);
declare_parameter<double>("lane_following.closest_lanelet.distance_threshold");
p.yaw_threshold = declare_parameter<double>("lane_following.closest_lanelet.yaw_threshold");
}

return p;
Expand Down

0 comments on commit 56f1871

Please sign in to comment.