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

Autolabor pro1 xacro Simulation Error #4

Open
SimonCK666 opened this issue Apr 6, 2022 · 0 comments
Open

Autolabor pro1 xacro Simulation Error #4

SimonCK666 opened this issue Apr 6, 2022 · 0 comments

Comments

@SimonCK666
Copy link

Dear kinglintianxia,

You did a very nice project. But I found some bugs when I ran.

My Device,
Ubuntu 20.04
ROS Noetic

I followed all your previews steps until Robot Sim

When I ran command roslaunch autolabor_pro1_description auto_pro1_laser_view.launch
I got error below

... logging to /home/simon/.ros/log/251ad4d4-b5c3-11ec-ac5b-ff0e2900c350/roslaunch-simon-9616.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.
name 'parent' is not defined
when evaluating expression 'parent'
when processing file: /home/simon/auto_ws/src/autolabor_pro1/autolabor_pro1_description/urdf/auto_pro1/wheel.urdf.xacro
included from: /home/simon/auto_ws/src/autolabor_pro1/autolabor_pro1_description/urdf/auto_pro1/base.urdf.xacro
included from: /home/simon/auto_ws/src/autolabor_pro1/autolabor_pro1_description/urdf/auto_pro1/auto_pro1_with_laser.xacro
RLException: Invalid <param> tag: Cannot load command parameter [robot_description]: command [['/opt/ros/noetic/lib/xacro/xacro', '--inorder', '/home/simon/auto_ws/src/autolabor_pro1/autolabor_pro1_description/urdf/auto_pro1/auto_pro1_with_laser.xacro']] returned with code [2].

Param xml is <param name="robot_description" command="$(arg urdf_file)"/>
The traceback for the exception was written to the log file

Maybe the error happened at file wheel.urdf.xacro that contains ${parent}

 <joint name="${parent}_${suffix}_wheel_joint" type="continuous">
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