Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

[roslaunch] Indicating <node> tag when it is actually a <test> tag is confusing.#989

Closed
130s wants to merge 1 commit intoros:kinetic-develfrom
130s:i/roslaunch/warningmsg
Closed

[roslaunch] Indicating <node> tag when it is actually a <test> tag is confusing.#989
130s wants to merge 1 commit intoros:kinetic-develfrom
130s:i/roslaunch/warningmsg

Conversation

@130s
Copy link
Copy Markdown
Member

@130s 130s commented Feb 16, 2017

For example, this warning msg (in this PR):

* WARN: unrecognized 'group' tag in <node> tag. Node xml is <test name="$(arg testnode_name)" pkg="rostest" test-name="hztest_test" type="hztest">
   <group unless="$(arg expected_success)">
     <node args="-r 0.5 $(find face_detector)/test/face_detector_noface_test_diamondback.bag" name="play" pkg="rosbag" type="play"/>
     <param name="hz" value="0.0"/>
   </group>

This is confusing because the tag in question is actually <test>, not <node>. Although the warning message refers to the exact tag, I didn't try to read it because I was told the issue is with <node>, not <test>.

With this PR the message becomes a bit verbose but hope the readers get better idea.

@130s 130s force-pushed the i/roslaunch/warningmsg branch from d9fdfa0 to 0e1d71b Compare February 16, 2017 03:20
Copy link
Copy Markdown
Member

@dirk-thomas dirk-thomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make PR against the latest development branch, currently kinetic-devel. You can edit the existing PR and retarget a different branch by clicking edit beside the PR title.

@130s 130s changed the base branch from indigo-devel to kinetic-devel February 16, 2017 18:48
@130s 130s force-pushed the i/roslaunch/warningmsg branch 3 times, most recently from 546004d to 0951eaa Compare February 16, 2017 19:19
… confusing.

For example, [this warning msg](https://travis-ci.org/wg-perception/people/jobs/202019288#L3737) (in this [PR](wg-perception/people#49)):

 ```
 * WARN: unrecognized 'group' tag in <node> tag. Node xml is <test name="$(arg testnode_name)" pkg="rostest" test-name="hztest_test" type="hztest">
    <group unless="$(arg expected_success)">
      <node args="-r 0.5 $(find face_detector)/test/face_detector_noface_test_diamondback.bag" name="play" pkg="rosbag" type="play"/>
      <param name="hz" value="0.0"/>
    </group>
```

This is confusing because the tag in question is actually `<test>`, not `<node>`. Although the warning message refers to the exact <test> tag, I didn't try to read it because I was told the issue is with <node>, not <test>.

With this PR the message becomes a bit verbose but hope the readers get better idea.
@130s 130s force-pushed the i/roslaunch/warningmsg branch from 0951eaa to 58cf7ad Compare February 16, 2017 19:22
@dirk-thomas
Copy link
Copy Markdown
Member

Thank you for the patch. I cherry-picked a slightly modified version ("child %s tag" -> "%s child tag") in 084b51b.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants