ros / xacro

Xacro is an XML macro language. With xacro, you can construct shorter and more readable XML files by using macros that expand to larger XML expressions.

Home Page:http://www.ros.org/wiki/xacro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to install and use xacro on ros humble hawksbill?

mohanksriram opened this issue · comments

I tried sudo apt install ros-humble-xacro to install.
And then ran ros2 run xacro xacro --inorder -o hand.urdf hand.xacro

But I get the error Package 'xacro' not found

Is this related to #302, i.e. are you running on Windows?
Did you source your ROS environment after installing xacro?
Is there a folder /opt/ros/humble/share/xacro?

No, I'm running on ubuntu 22.04
Yes, I did: . ~/ros2_humble/install/local_setup.bash
Yes there is a folder: /opt/ros/humble/share/xacro

Does it work when you source directly from /opt/ros ?

Thanks!
Directly sourcing: . /opt/ros/humble/local_setup.sh worked.
Now, I'm able to ros2 run xacro.

This means that screwed your local workspace.