Ask Your Question
0

Can't load stl into URDF using ROS2

asked 2021-06-25 08:50:09 -0500

rsc gravatar image

in ROS 1 i used, <mesh filename="package://robot_description/meshes/base.stl"/> for load a STL in URDF xacro file

But apparently this does not work in ROS2, how do I load an STL file?

edit retag flag offensive close merge delete

Comments

If you observed an error or warning message, I would suggest to include it, verbatim, in your question text.

That might help others figure out why it's not working for you.

gvdhoorn gravatar image gvdhoorn  ( 2021-06-26 09:48:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-06-30 08:23:48 -0500

djchopp gravatar image

See this question. Xacro in ROS2 does not seem to support the package tag. Try using <mesh filename="file://$(robot_description)/meshes/base.stl"/> instead.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2021-06-25 08:50:09 -0500

Seen: 305 times

Last updated: Jun 30 '21