Skip to content

Commit

Permalink
Fix standard deviation parameter limit
Browse files Browse the repository at this point in the history
  • Loading branch information
nahueespinosa committed Dec 6, 2022
1 parent ec63902 commit 394a468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beluga_amcl/src/amcl_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ AmclNode::AmclNode(const rclcpp::NodeOptions & options)
descriptor.description = "Standard deviation of the hit distribution.";
descriptor.floating_point_range.resize(1);
descriptor.floating_point_range[0].from_value = 0;
descriptor.floating_point_range[0].to_value = 1;
descriptor.floating_point_range[0].to_value = std::numeric_limits<double>::max();
descriptor.floating_point_range[0].step = 0;
declare_parameter("sigma_hit", rclcpp::ParameterValue(0.2), descriptor);
}
Expand Down

0 comments on commit 394a468

Please sign in to comment.