ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
![]() | 1 | initial version |
I'm not sure why you have brackets after running the command, are you sure the command you've written in the question is actually the one you try ? I can only reproduce this if I don't put the last "
.
Anyways you also have something wrong in your command : rospack find robot1_description
. Since you have quotations mark, every thing you type between will be treated as a string
so your arg model
will be as you typed but not with the actual path of your package. You need to add $
and put rospack find your_package
between parentheses to tell the difference with a string.
So this command should be working (provided you have correctly sourced your package so that rospack find
gives the correct path):
roslaunch robot1_description display.launch model:="$(rospack find robot1_description)/urdf/robot1.urdf"