-
Notifications
You must be signed in to change notification settings - Fork 216
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
Possible build errors due to new xacro processing #120
Comments
If you use the The other support packages you found don't use Jade+ xacro constructs (with the exception of a few), so |
As your new xacro macro does use Jade+ xacro, Does that clear things up? If not, please clarify, as I'm slightly confused as to what the issue is. |
I'll preface this with admitting noob status... This was to raise the issue of an unexpected build failure that might be best to fix proactively vs. reactively. In my hunting, I didn't find a mention of As another data point, after learning of So... output of this (which I'm happy to do) could be various, but I brought it to ask the experts. To suggest two ideas:
I like fixing for the future. Someone else will come along to help, have a build fail, and spend an hour like me trying to figure out why. If the solution is known and could be added in places they will stumble on, why not do it? Preface repeated: I'm a noob so if everyone already knows that |
|
Thanks for the dialog. I'm still puzzled by Going by your input that
I'll close this, and appreciate the feedback! |
I decided to also ask about this more generally on ROS Answers to see if someone can clarify the discrepancies and provided doc improvement suggestions. |
I have a feeling you're making this a much bigger "problem" than it really is.
"in order processing" is completely orthogonal to all the other nice features that As people wanted to use those features in their xacros on ROS Indigo as well, the That's when someone figured out that they could use the So the idea was to enable all the other new features in If you don't add That is all there is to it really. |
I just checked your edits to the wiki. I believe those are not correct. |
I've also answered your ROS Answers question with something similar to my earlier comment, but with a bit more context and links to PRs where Hope that helps. |
Very possibly. That said, ROS is pretty complex and I've struggled with the documentation numerous times in my learning journey. I saw nothing on the xacro page (which is where people will mostly go to look for help on xacro) containing the excellent insights you've provided above. With some minor doc tweaks, there's the potential to spare contributors frustration and confusion. I think that's worth it.
Thank you for that. I just changed to specify Indigo. I'm still unsure why #118 didn't fail the build. |
@jwhendy wrote:
I think your current edit is still not (completely) correct: |
Also good point. I guess I'd opt for a note at the top to that effect, then, and just ditch anything specific in math expressions. Then it would hopefully be more clear that most of the features in yellow highlights would require |
You could probably add a section titled "Use of new features on Indigo" (or something similar) and explain the use of |
Done, and thanks for the guidance!
|
I submitted #117, which built successfully, then updated to use the new
${radians(foo)}
syntax and it failed. The error was:In comparing to other
launch/load_robot.launch
files, I noticed three differences:<?xml version="1.0"?>
tag at the topxacro.py
vsxacro
--inorder
flagThat PR has had four build checks on Travis so far:
${radians(foo)}
xml
tag and changed toxacro
(no.py
)--inorder
to the commit that ran in build test 187 above.Looking at the documentation, I see:
The docs suggest generating an
xml
for the.xacro
withrosrun xacro xacro [--inorder] file.xacro
, runningdiff
on the output with and without the flag. For both thelbr_7_r800
(updated to new standards) and the existinglbr_14_r820
(with none of the three features bulleted above), I get no difference, so I'm confused on the build data.In the end, it likely doesn't matter... if this is the new standard, I can update the ~10
grep
hits I get forxacro.py
and no--inorder
flag. I'm documenting this for the benefit of others running into build errors around this.Any input/suggestions?
The text was updated successfully, but these errors were encountered: