[ERROR] [spawn_entity.py-1]: process has died [pid 18786, exit code 1, cmd ‘/opt/ros/humble/lib/gazebo_ros/spawn_entity.py -entity my_robot -file ~/ros2_workspace/src/Universal_Robots_ROS2_Description/urdf/t_robot.urdf -x 0 -y 0 -z 0 -R 0 -P 0 -Y 0 --ros-args -r __node:=spawn_entity -r __ns:=/gazebo’].
[INFO] [launch]: All log files can be found below /home/bali/.ros/log/2024-03-02-20-52-53-874075-bali-ubuntu-18785
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [spawn_entity.py-1]: process started with pid [18786]
[spawn_entity.py-1] [INFO] [1709412774.331666320] [gazebo.spawn_entity]: Spawn Entity started
[spawn_entity.py-1] [INFO] [1709412774.332050019] [gazebo.spawn_entity]: Loading entity XML from file ~/ros2_workspace/src/Universal_Robots_ROS2_Description/urdf/t_robot.urdf
[spawn_entity.py-1] Traceback (most recent call last):
[spawn_entity.py-1] File “/opt/ros/humble/lib/gazebo_ros/spawn_entity.py”, line 370, in
[spawn_entity.py-1] main()
[spawn_e
entity.py-1] File “/opt/ros/humble/lib/gazebo_ros/spawn_entity.py”, line 365, in main
[spawn_entity.py-1] exit_code = spawn_entity_node.run()
[spawn_entity.py-1] File “/opt/ros/humble/lib/gazebo_ros/spawn_entity.py”, line 143, in run
[spawn_entity.py-1] self.get_logger().error(‘Error: specified file %s does not exist’, self.args.file)
[spawn_entity.py-1] TypeError: RcutilsLogger.error() takes 2 positional arguments but 3 were given
[ERROR] [spawn_entity.py-1]:
process has died [pid 18786, exit code 1, cmd ‘/opt/ros/humble/lib/gazebo_ros/spawn_entity.py -entity my_robot -file ~/ros2_workspace/src/Universal_Robots_ROS2_Description/urdf/t_robot.urdf -x 0 -y 0 -z 0 -R 0 -P 0 -Y 0 --ros-args -r __node:=spawn_entity -r __ns:=/gazebo’].