Skip to content

Commit

Permalink
Merge branch 'main' into ramiro/expand-grid-concepts-to-n-dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
serraramiro1 authored Jun 5, 2024
2 parents 2d2a9fb + 77f3468 commit 625a6e4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions beluga_amcl/src/ndt_amcl_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ NdtAmclNode::NdtAmclNode(const rclcpp::NodeOptions& options)
descriptor.floating_point_range[0].from_value = 0;
descriptor.floating_point_range[0].to_value = 1;
descriptor.floating_point_range[0].step = 0;
declare_parameter("minimum_likelihood", rclcpp::ParameterValue(0.0), descriptor);
declare_parameter("minimum_likelihood", rclcpp::ParameterValue(0.01), descriptor);
}

{
Expand All @@ -101,7 +101,7 @@ NdtAmclNode::NdtAmclNode(const rclcpp::NodeOptions& options)
descriptor.floating_point_range[0].from_value = 0;
descriptor.floating_point_range[0].to_value = 1000;
descriptor.floating_point_range[0].step = 0;
declare_parameter("d2", rclcpp::ParameterValue(1.0), descriptor);
declare_parameter("d2", rclcpp::ParameterValue(0.6), descriptor);
}

if (get_parameter("autostart").as_bool()) {
Expand Down
4 changes: 3 additions & 1 deletion beluga_example/params/default_ndt.ros2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,6 @@ ndt_amcl:
# Scaling parameter for NDT cells amplitude.
d1: 1.0
# Scaling parameter for NDT cells covariance.
d2: 0.85
d2: 0.6
# Minimum score NDT measurement cells.
minimum_likelihood: 0.01

0 comments on commit 625a6e4

Please sign in to comment.