Use different param name for slam_toolbox param_file#2243
Use different param name for slam_toolbox param_file#2243v-lopez wants to merge 2 commits intoros-navigation:foxy-develfrom
Conversation
…os-navigation#2214) * If provided param file has no slam_toolbox params, don't forward it * Update copyright * Linter fixes * Reorder slam_launch to hide uglyness at the end
|
I'm not sure if we should have merged in the foxy one on slam toolbox, that changes the API for params file for anyone with scripts. What do you think? ros2/main is fine, but I'm concerned about foxy actually that I should revert that merge. |
|
Well before there was no param, and now there is one that should not conflict with any. I believe the only people that might be affected are those that had slam_toolbox parameters in their nav2 bringup parameter file. Which did not make sense since they were not being used. |
|
https://github.com/SteveMacenski/slam_toolbox/pull/364/files what do you mean? there was a parameter that was renamed. I have to assume most people did not use the |
|
Yes sorry, the param that we added last week was just renamed, but I think it was after the last sync to foxy. So the rename would only affect people who use slam_toolbox from source and started using the parameter in the last 8 days. |
|
OK, reverting that foxy-devel PR SteveMacenski/slam_toolbox#365 but we're leaving / merging the |
|
I think that means we can close this PR too since this is |
|
I don't think I follow. We added a param 10 days ago and we have to remove it or rename it to fix the issue you reported. Removing it breaks API as much as renaming it. But renaming with the changes I made will allow us to keep the functionality. |
|
SteveMacenski/slam_toolbox#365 I did remove it, it breaks user behavior in an already released distribution, its as simple as that. It can't go into Foxy. To enable this behavior in foxy, it must not break already released behavior. Between distributions and in |
|
Yeah, but reverting that will cause #2240 to appear on foxy. To fix #2240, either the original PR https://github.com/SteveMacenski/slam_toolbox/pull/347/files must be reverted and the param removed altogether, or the param must be renamed as I did with SteveMacenski/slam_toolbox#364. Keeping the name I apologise for the confusion, and if you choose to remove it altogether I will look for an alternative way of getting on our repositories to make it work, but the current state of foxy as of now will not work due to #2240. My point being that 10 days ago this behavior did not exist, it was added but has not yet been released in foxy, so techically it's not breaking any released behavior. |
|
#2240 was never merged into foxy, only main. None of those push/pop things were ever put into foxy to break anything. I don't understand your point. We added something to So foxy, if we close this PR, will be as if nothing happened at all. Main in Nav2/ROS2 in SLAM Toolbox will contain the behavior you were looking to add with setting parameters via the main nav2 file. Foxy will not. Ergo, I'm asking if its ok to close this PR. |
|
You are right, I was mixing the push/pop issue that affects the nav2 nodes, with the issue that using The whole purpose of the Push/Pop was to prevent the nav2 But in foxy the That's why I was saying that we should rename |
|
So can we close this since this is for |
Ok, let's close this then. For fixing foxy |
|
I don't think there's a bug in Slam toolbox, there's a bug in launch that impacts Nav2's usage of slam toolbox |
|
Agreed, would you be ok with the workaround I proposed on my previous comment? |
|
Sure, we could do that. |
This is a workaround to ros-navigation/navigation2#2243 to keep foxy API stable by not changing the params_file name.
This is a workaround to ros-navigation/navigation2#2243 to keep foxy API stable by not changing the params_file name.
…ms (#368) * Check params_file arg, and use default if it has no slam_toolbox params This is a workaround to ros-navigation/navigation2#2243 to keep foxy API stable by not changing the params_file name. * Use has_node_params in nav2_common
…ms (SteveMacenski#368) * Check params_file arg, and use default if it has no slam_toolbox params This is a workaround to ros-navigation/navigation2#2243 to keep foxy API stable by not changing the params_file name. * Use has_node_params in nav2_common
Basic Info
Description of contribution in a few bullet points