Running into this ROS error when using ROSLAUNCH
james@James:~/catkin_ws$ roslaunch myur5_description myur5.launch ... logging to /home/james/.ros/log/7eb6533a-16e3-11ec-a580-c0e434912855/roslaunch-James-7969.log Checking log directory for disk usage. This may take a while. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.
xacro: in-order processing became default in ROS Melodic. You can drop the option. Undefined parameters [kinematics_file] when instantiating macro: ur5_robot (/home/james/catkin_ws/src/universal_robot/ur_description/urdf/ur5.urdf.xacro) in file: /home/james/catkin_ws/src/myur5sim/myur5_description/urdf/myur5.urdf.xacro RLException: Invalid tag: Cannot load command parameter [robot_description]: command [['/opt/ros/melodic/lib/xacro/xacro', '/home/james/catkin_ws/src/myur5sim/myur5_description/urdf/myur5.urdf.xacro', 'transmission_hw_interface:=hardware_interface/PositionJointInterface']] returned with code [2].
Param xml is The traceback for the exception was written to the log file
I started getting this error for a different ROS file about a week ago and have been struggling to get rid of it since. I have tried many things and ended up reinstalling my catkin workspace to try fix it. Since I reinstalled it the same error has appeared for this launch file which spawns a UR5 and a mesh in a gazebo environment. I have no idea why this has occurred but any help would be dramatically appreciated as I am running out of time to solve it. The error being received is listed above. I have no idea why it has started happening.
Kind regards James_JBK
@james_jbk would you be able to send the log pls. Are you running WSL or Ubuntu?