Hi, please take a look at our URDF loader guide for examples and configs to load a custom URDF.
Please also attach the set of URDFs you are using for us to reproduce the error and file a bug. I guess you used ROS2 to convert the xacro file to urdf?
@Sheikh_Dawood Thanks for the response. I was trying to just use the maxwell urdf, from the ROS main wiki, and ran xacro in ROS1 melodic.
For my setup, the SIm will run in ROS1/Ubuntu with NVIDIA GPU
Xavier AGV - ROS2 (ros1 bridge?)
I looked at the output of xacro to urdf and the urdf was empty. user error… but this is the command I ran to try and convert it. rosrun xacro xacro --inorder -o arm.urdf arm.urdf.xacro
It is not recommended to convert and import just the maxwell arm (from xacro). This xacro file requires some parent files as dependence and its compilation will generate an empty urdf definition. Instead, it is possible to convert the main xacro file maxwell.urdf.xacro
I downloaded the project from GitHub to my Linux virtual machine and executed the next steps to compile the urdf (it copies the urdf description files to /opt and generates some garbage, but does not matter, it is just a testing virtual machine 😅)
interesting…as I read the xacro documentation on the wiki, didn’t realize I needed to cp the maxwell folder to /opt/ros/melodic/share
Do i need to do this for every xacro I run?
i followed your steps that included copying the maxwell folder to /opt/ros/melodic/share and my maxwell.urdf output was successful.