Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get an error when trying to use the display.launch file #13

Open
SetpointCapybara opened this issue Oct 16, 2024 · 0 comments
Open

I get an error when trying to use the display.launch file #13

SetpointCapybara opened this issue Oct 16, 2024 · 0 comments

Comments

@SetpointCapybara
Copy link

I am using Ubuntu 20.04 and ROS Noetic.
I get the following error:
john@john-Precision-7670:~/Desktop/hsrurdf_ws$ roslaunch /home/john/Desktop/hsrurdf_ws/src/hsr_description/launch/display.launch
... logging to /home/john/.ros/log/0a405cdc-8bd7-11ef-be63-615acf79691d/roslaunch-john-Precision-7670-18779.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 tag: Cannot load command parameter [robot_description]: no such command [['/opt/ros/noetic/share/xacro/xacro.py', '/home/john/Desktop/hsrurdf_ws/src/hsr_description/robots/hsrb4s.urdf.xacro', 'use_obj_for_visual:=false']].

Param xml is
The traceback for the exception was written to the log file
Screenshot from 2024-10-16 17-57-09

I tried removing the .py at xacro.py. Things improved a bit, but I still get the following errors:
john@john-Precision-7670:~/Desktop/hsrurdf_ws$ roslaunch /home/john/Desktop/hsrurdf_ws/src/hsr_description/launch/display.launch
... logging to /home/john/.ros/log/86dfb008-8bd7-11ef-be63-615acf79691d/roslaunch-john-Precision-7670-19076.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.

redefining global symbol: pi
when processing file: /home/john/Desktop/hsrurdf_ws/src/hsr_description/urdf/common.xacro
included from: /home/john/Desktop/hsrurdf_ws/src/hsr_description/robots/hsrb4s.urdf.xacro
name 'joint' is not defined
when evaluating expression 'joint'
when processing file: /home/john/Desktop/hsrurdf_ws/src/hsr_description/urdf/common.xacro
included from: /home/john/Desktop/hsrurdf_ws/src/hsr_description/robots/hsrb4s.urdf.xacro
RLException: Invalid tag: Cannot load command parameter [robot_description]: command [['/opt/ros/noetic/lib/xacro/xacro', '/home/john/Desktop/hsrurdf_ws/src/hsr_description/robots/hsrb4s.urdf.xacro', 'use_obj_for_visual:=false']] returned with code [2].

Param xml is
The traceback for the exception was written to the log file
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant