0
$\begingroup$

enter image description here SO this the screenshot.Urdf is present but still xacro is not working.

$\endgroup$
1
  • 2
    $\begingroup$ please do not post a picture of text ... post the text instead ... copy the text and paste it into your post, then delete the picture $\endgroup$
    – jsotola
    Commented Jul 29 at 4:14

2 Answers 2

0
$\begingroup$

The correct command:

ros2 launch urdf_tutorial display.launch.py model:=/opt/ros/jazzy/share/urdf_tutorial/urdf/08-macroed.urdf.xacro  
$\endgroup$
0
$\begingroup$

Did you build the package? If yes did you source the workspace?

source /opt/ros/jazzy/setup.bash

Try to give write, read, execute permissions for this file:

chmod777 08-macroed.urdf.xacro

Are you sure you need to declare the cal xacro model instead just the urdf model in launch file ( I mean try just use model: 08-macroed.urdf)

Finally I would remove the install/pkg_name and build/pkg_name and log folders then rebuild.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.