WPI-AIM / dvrk_env

Accurate URDF and SDF models of Intuitive Surgical's daVinici Research Kit (dVRK)
19 stars 11 forks source link

roslaunch dvrk_gazebo psm_gazebo.launch Error #10

Open francomomo opened 2 years ago

francomomo commented 2 years ago

Hello!

I have the following error when running roslaunch dvrk_gazebo psm_gazebo.launch

I am trying to run this in Ubuntu 20.04 on parallels on Macbook w/ M1 chip.

Do you guys have any idea on what might went wrong?

parallels@ubuntu-linux-20-04-desktop:~/catkin_ws_2$ roslaunch dvrk_gazebo psm_gazebo.launch
... logging to /home/parallels/.ros/log/c7a3379a-4599-11ec-8087-8159cb448fa2/roslaunch-ubuntu-linux-20-04-desktop-37923.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.

RLException: Invalid <param> tag: Cannot load command parameter [robot_description]: no such command [['/opt/ros/noetic/share/xacro/xacro.py', '/home/parallels/catkin_ws_2/src/dvrk_env/dvrk_description/psm/psm_launch.sdf']]. 

Param xml is <param name="robot_description" command="$(find xacro)/xacro.py '$(find dvrk_description)/psm/psm_launch.sdf'"/>
The traceback for the exception was written to the log file
cvkittler commented 1 year ago

This may be too late for you but for people who might see this the command should be command="$(find xacro)/xacro '$(find dvrk_description)/psm/psm_launch.sdf'"/> removing the ".py" this is a change in noetic REF: http://wiki.ros.org/xacro