You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the /slam_node/get_parameters service returns an empty list when requesting a parameter with an unspecified value.
I'm not sure if this is a ROS-level issue or specific to this package, but the issue might stem from the handling of the stack_size parameter.
The value for stack_size, defined here, will never be used unless you modify this line as follows:
Required Info:
Steps to reproduce issue
where
my_params.yaml
does not contain a specific value forstack_size_to_use
Expected behavior
The dump output should contain parameters
Actual behavior
Additional information
After investigating, I suspect the issue is related to how parameters with unspecified values are handled. Specifically, in the code, here:
slam_toolbox/src/slam_toolbox_common.cpp
Line 52 in bf1da76
It seems that the
/slam_node/get_parameters
service returns an empty list when requesting a parameter with an unspecified value.I'm not sure if this is a ROS-level issue or specific to this package, but the issue might stem from the handling of the
stack_size
parameter.The value for stack_size, defined here, will never be used unless you modify this line as follows:
This would ensure the
stack_size
value is used properly.If you’d like, I can submit a pull request to fix this. Let me know!
The text was updated successfully, but these errors were encountered: