-
Notifications
You must be signed in to change notification settings - Fork 1k
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
suggestion: use args for ur_description #234
Comments
The part concerning the prefix will only be possible once we move to jade, as proper conditional evaluation is needed. |
Yeah. And that is exactly why the current implementation is as it is right now .. |
The issue is with handling empty strings; for some reason xacro is really bad at handling that. The 'limited' parameter will always be either true or false, so that can still be changed now. Also, I guess ppl would make a new robot.urdf.xacro file anyway if they were using two arms - otherwise the two arms would be located on top of each other. So I guess the latter part about making the prefix tag an arguement is irrelevant. |
Related: #144. Yaml with substitution args or even the new yaml support in xacro could be approaches to consider here. Configuring the xacro macro from a yaml file completely would have my preference. |
Didn't finish it yet. Will try to push it this week. |
Proposition of solution: #371 |
Right now we have two robot.urdf.xacro files for each robot; one with limited joint movements and another without.
As Xacro has support for arg (just like launch files), I think it would make more sense to just have one file, and then pass the limited arg from the launch file to the xacro file.
The same could be applied for the prefix tag, instead of ppl having to make a copy of the robot.urdf.xacro file if they are using two arm and thus needs to specify a prefix.
The text was updated successfully, but these errors were encountered: