-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose model_unknown_space parameter to ROS2 #448
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Diego Palma <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks about correct. Have we tested it in simulation or against some dataset already?
beluga_amcl/src/amcl_node.cpp
Outdated
@@ -120,6 +120,12 @@ AmclNode::AmclNode(const rclcpp::NodeOptions& options) : BaseAMCLNode{"amcl", "" | |||
declare_parameter("z_rand", rclcpp::ParameterValue(0.5), descriptor); | |||
} | |||
|
|||
{ | |||
auto descriptor = rcl_interfaces::msg::ParameterDescriptor(); | |||
descriptor.description = "If false, Likelihood Field sensor model won't model unknown space."; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DPR00 consider having matching descriptions in ROS 1 and ROS 2. I like the ROS 1 one better.
@@ -61,6 +61,8 @@ amcl: | |||
z_hit: 0.5 | |||
# Weight used to combine the probability of random noise in perception. | |||
z_rand: 0.5 | |||
# Whether to model unknown space or assume it free. | |||
model_unknown_space : false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DPR00 nit:
model_unknown_space : false | |
model_unknown_space: false |
Signed-off-by: Diego Palma <[email protected]>
1984aeb
to
1469782
Compare
Signed-off-by: Diego Palma <[email protected]>
bac6245
to
9e6e7f8
Compare
Proposed changes
Expose
model_unknown_space
parameter of the Likelihood Field sensor model to Beluga AMCL (ROS 2).Type of change
💥 Breaking change! Explain why a non-backwards compatible change is necessary or remove this line entirely if not applicable.
Checklist
Put an
x
in the boxes that apply. This is simply a reminder of what we will require before merging your code.Additional comments
Anything worth mentioning to the reviewers.