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.