diff --git a/perception/ground_segmentation/src/ransac_ground_filter_nodelet.cpp b/perception/ground_segmentation/src/ransac_ground_filter_nodelet.cpp index c1afdf5ca199d..6fed2f5d296a2 100644 --- a/perception/ground_segmentation/src/ransac_ground_filter_nodelet.cpp +++ b/perception/ground_segmentation/src/ransac_ground_filter_nodelet.cpp @@ -91,7 +91,7 @@ RANSACGroundFilterComponent::RANSACGroundFilterComponent(const rclcpp::NodeOptio min_inliers_ = declare_parameter("min_trial"); min_points_ = declare_parameter("min_points"); outlier_threshold_ = declare_parameter("outlier_threshold"); - plane_slope_threshold_ = declare_parameter("plane_slope_threshold"); + plane_slope_threshold_ = declare_parameter("plane_slope_threshold"); voxel_size_x_ = declare_parameter("voxel_size_x"); voxel_size_y_ = declare_parameter("voxel_size_y"); voxel_size_z_ = declare_parameter("voxel_size_z"); diff --git a/perception/ground_segmentation/src/ray_ground_filter_nodelet.cpp b/perception/ground_segmentation/src/ray_ground_filter_nodelet.cpp index 83e7185f92a15..6134770b3f4b1 100644 --- a/perception/ground_segmentation/src/ray_ground_filter_nodelet.cpp +++ b/perception/ground_segmentation/src/ray_ground_filter_nodelet.cpp @@ -58,7 +58,7 @@ RayGroundFilterComponent::RayGroundFilterComponent(const rclcpp::NodeOptions & o use_vehicle_footprint_ = declare_parameter("use_vehicle_footprint"); general_max_slope_ = declare_parameter("general_max_slope"); local_max_slope_ = declare_parameter("local_max_slope"); - initial_max_slope_ = declare_parameter("initial_max_slope"); + initial_max_slope_ = declare_parameter("initial_max_slope"); radial_divider_angle_ = declare_parameter("radial_divider_angle"); min_height_threshold_ = declare_parameter("min_height_threshold"); concentric_divider_distance_ = declare_parameter("concentric_divider_distance");