How to use roslaunch to call my urdf file which is on the outside of urdf_tutorials folder?

asked 2016-10-26 06:12:21 -0500

Chucolate gravatar image

updated 2016-10-27 08:02:50 -0500

i have problem. On this time, I use " roslaunch urdf_tutorial display.launch model:='$(find urdf_tutorial)/urdf/07-physics.urdf' .It can show urdf file in RViz.

I try to create my urdf file as 07-physics.urdf in new folder. I use "roslaunch ws-2 display.launch model:='$(find ws-2)/urdf/myrobots.urdf' because I created "myrobots.urdf" in "ws-2" folder. In ws-2 folder, I have already put display launch file in that folder. but It show an error ""display.launch is neither a launch file in package [ws-2] nor is ch file name".

How to do that?

I really appreciate any help you can provide.

edit retag flag offensive close merge delete


Have you sourced the ROS workspace that contains the ROS package ws-2 ?

spmaniato gravatar image spmaniato  ( 2016-10-27 09:04:35 -0500 )edit

I've just created my workspace via rosws command but I don't know how to call my urdf file in my workspace. Do you have any recommended for this ?

Chucolate gravatar image Chucolate  ( 2016-10-27 09:55:11 -0500 )edit

See my comment above and also

spmaniato gravatar image spmaniato  ( 2016-10-27 11:04:07 -0500 )edit

Thank you very much.

Chucolate gravatar image Chucolate  ( 2016-10-29 06:27:24 -0500 )edit