Error converting xacro to urdf ROS Moveit!
I am trying to convert an xacro file to a urdf so I can use it in Moveit! My process is as follows:
First I make a workspace: ws_moveit.
Then I download the necessary robot files including the xacro and place them in the source folder of ws_moveit
Then I attempt to run:
rosrun xacro xacro.py kr150_2.xacro > kr150_2.urdf
To receive the following error:
No such file or directory: kr150_2.xacro
This directory definitely exists. When I instruct the terminal exactly where they are and write:
rosrun xacro xacro.py /home/sam/ws_moveit/src/kuka_experimental/kuka_kr150_support/kr150_2.xacro > /home/sam/ws_moveit/src/kuka_experimental/kuka_kr150_support/kr150_2.urdf
I receive the following error:
No such file or directory: /home/sam/ws_moveit/src/kuka_experimental/kuka_kr150_support/kr150_2.macro.xacro
when this definitely exists.
Can anyone help?
Cheers, Sam
When I type catkin_make I get error:
The build space at '/home/sam/ws_moveit/build' was previously built by 'catkin build'. Please remove the build space or pick a different build space.