-
Notifications
You must be signed in to change notification settings - Fork 81
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
Evaluate parameters exception loading URDF #214
Comments
Remove apostrophes in comments to workaround ros2/launch_ros#214
Posting to hopefully help the next person. This issue looks to be resolved with #137 however that has not made it into the foxy branch/release. In the meantime, building from source on foxy using the master branch for both launch and launch_ros allows you to do the following for the python launch system:
A xacro could be loaded using |
Just thought I'd share a workaround that works in Foxy now, without the need to checkout galactic/rolling versions of packages, using
While it is admittedly a bit harder to read than a typical launch file, it checks all the boxes for my use cases, anyways; namely it:
|
@v-lopez Can you confirm if this is fixed with the latest changes on the |
Still getting that error:
With launch_ros at tag 0.11.5 and launch 0.10.7 |
I've run into this problem too, and added better error messages in this PR: #275 |
(and we discussed different ways to fix the problem here #268 but ultimately decided to just force people to explicitly state that its a string. |
@v-lopez Friendly ping. Let me know if this is still an issue after trying to explicitly set the type to string. Otherwise, I'm inclined to close this ticket. |
Closing, since I believe this issue as been addressed. Please comment or re-open if I'm mistaken. |
Bug report
Required Info:
Steps to reproduce issue
A full example is going to take a few files, and the issue is simple enough.
I am trying to load a URDF file into a
robot_description
argument via Substitutions.The urdf is generated correctly from the xacro, but it crashes when parsing before writing it to the param file.
The reason seems to be the same as was discussed here: #136
If I try to load this file: https://github.com/pal-robotics/pmb2_robot/blob/kinetic-devel/pmb2_description/gazebo/gazebo.urdf.xacro#L45
The semicolon in the comment causes it to fail with the error:
Is there an equivalent way of escaping the robot_description text so it's always parsed as string?
The text was updated successfully, but these errors were encountered: