Skip to content
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

melodic: 'param' unexpected in 'include' in move_group.launch #2728

Closed
gavanderhoorn opened this issue Jun 21, 2021 · 9 comments
Closed

melodic: 'param' unexpected in 'include' in move_group.launch #2728

gavanderhoorn opened this issue Jun 21, 2021 · 9 comments
Labels
bug msa MoveIt Setup Assistant

Comments

@gavanderhoorn
Copy link
Contributor

Description

roslaunch complains about a param element inside an include element in move_group.launch with every MoveIt configuration package generated by the MSA on Melodic.

Your environment

  • ROS Distro: Melodic
  • OS Version: Ubuntu 18.04
  • binary, apt: 1.0.8

Steps to reproduce

Generate a MoveIt config pkg using the current MSA on Melodic.

It'll include the following move_group.launch:

https://github.com/ros-planning/moveit/blob/dc5b4102a87de91fa41b2806db6655a3ec44c541/moveit_setup_assistant/templates/moveit_config_pkg_template/launch/move_group.launch#L48-L52

@gavanderhoorn gavanderhoorn added bug msa MoveIt Setup Assistant labels Jun 21, 2021
@gavanderhoorn
Copy link
Contributor Author

gavanderhoorn commented Jun 21, 2021

Reason I first open an issue is because this was introduced in #1893 in master (here), and then got overwritten by #2127 (here). As Noetic basically gets master, it's not a problem there.

#2127 moves those two params back to the lines later on in move_group.launch (as children of move_group the node), which makes more sense to me.

Perhaps there was a reason they got moved to be args on the included planning_pipeline.launch.xml, which I'm not aware of.

As melodic-devel doesn't have #2127, moving them back could lead to (further) regressions?

@v4hn
Copy link
Contributor

v4hn commented Jun 21, 2021

crap.

I guess this is related to the pilz_planner providing custom capabilities (namely the Sequence capabilities.

However, these are now handled in the move_group node now by looking for additional capabilities in the pipeline namespaces, so there is no reason to have the args with the planning pipeline in any way and they should be below with the move_group node.

Could you create a pull-request please?

@gavanderhoorn
Copy link
Contributor Author

I'm happy to move them back, but I don't see the same code in Melodic @v4hn:

https://github.com/ros-planning/moveit/blob/dc5b4102a87de91fa41b2806db6655a3ec44c541/moveit_ros/move_group/src/move_group.cpp#L110-L179

I believe that was also introduced in #2127, which Melodic doesn't have.

@v4hn
Copy link
Contributor

v4hn commented Jun 22, 2021 via email

@gavanderhoorn
Copy link
Contributor Author

Yeah, I already did that locally to make things work again, so I can certainly PR that.

Things like this make me wonder whether any of the (active) maintainers actually use the MSA. It's not difficult to spot this, roslaunch is pretty vocal about it -- not to mention the capability management doesn't work correctly like this.

gavanderhoorn added a commit that referenced this issue Jun 22, 2021
These two lines were moved here (from the `move_group` node section below) in #2507 as part of the Melodic backport of the Pilz planner, but were not changed to `arg`s.

`include` elements do not support `param` children.

Change these to `arg`s to make `roslaunch` pass them on to `planning_pipeline.launch.xml` as intended.

Note: this is not a problem on `master` (and consequently `noetic-devel`), as #2127 rearranged things again (to move capabilities management to the per-pipeline launch files) and fixed it.
@v4hn
Copy link
Contributor

v4hn commented Jun 22, 2021 via email

v4hn pushed a commit that referenced this issue Jun 22, 2021
These two lines were moved here (from the `move_group` node section below) in #2507 as part of the Melodic backport of the Pilz planner, but were not changed to `arg`s.

`include` elements do not support `param` children.

Change these to `arg`s to make `roslaunch` pass them on to `planning_pipeline.launch.xml` as intended.

Note: this is not a problem on `master` (and consequently `noetic-devel`), as #2127 rearranged things again (to move capabilities management to the per-pipeline launch files) and fixed it.
@felixvd
Copy link
Contributor

felixvd commented Jun 23, 2021

On a more serious note, the nature of the MSA is such that you won't use it in your everyday workflow. For my own projects I use it something like twice a year.

Same for me. It's easy to miss regressions like this in MSA, especially on legacy branches.

@gavanderhoorn
Copy link
Contributor Author

gavanderhoorn commented Jun 23, 2021

It's easy to miss regressions like this in MSA, especially on legacy branches.

the regression was actually on master. It just got fixed there almost accidentally by an unrelated follow-up PR.

@gavanderhoorn
Copy link
Contributor Author

gavanderhoorn commented Jun 23, 2021

Closing as #2729 got merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug msa MoveIt Setup Assistant
Projects
None yet
Development

No branches or pull requests

3 participants