Ask Your Question
0

failed to lunch this command

asked 2021-08-22 22:04:56 -0600

nizar00 gravatar image

when i try this command : roslaunch panda_moveit_config demo.launch rviz_tutorial:=true i get this error : No such file or directory: /opt/ros/noetic/share/franka_description/robots/panda_arm_hand.urdf.xacro [Errno 2] No such file or directory: '/opt/ros/noetic/share/franka_description/robots/panda_arm_hand.urdf.xacro' RLException: while processing /home/chizu/ws_moveit/src/panda_moveit_config/launch/planning_context.launch: Invalid tag: Cannot load command parameter [robot_description]: command [['/opt/ros/noetic/lib/xacro/xacro', '/opt/ros/noetic/share/franka_description/robots/panda_arm_hand.urdf.xacro']] returned with code [2].

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2021-08-25 06:09:36 -0600

rizgiak gravatar image

As written in CHANGELOG in franka_ros (0.8.0 - 2021-08-03):

BREAKING Remove panda_arm_hand.urdf.xacro. Use panda_arm.urdf.xacro hand:=true instead.

you should change line in

/home/chizu/ws_moveit/src/panda_moveit_config/launch/planning_context.launch

which previously written as:

<param if="$(eval arg('load_robot_description') and arg('load_gripper'))" name="$(arg robot_description)" command="$(find xacro)/xacro '$(find franka_description)/robots/panda_arm_hand.urdf.xacro'"/>

become,

<param if="$(eval arg('load_robot_description') and arg('load_gripper'))" name="$(arg robot_description)" command="$(find xacro)/xacro '$(find franka_description)/robots/panda_arm.urdf.xacro' hand:=true"/>
edit flag offensive delete link more

Comments

1

Worked for me, thanks super much!

yin-ye gravatar image yin-ye  ( 2021-08-27 09:59:38 -0600 )edit

Thanks a lot, dude it works!

Donjaga gravatar image Donjaga  ( 2021-08-29 13:29:47 -0600 )edit

Thank you, It worked.

patelrishi1994 gravatar image patelrishi1994  ( 2021-08-30 10:45:45 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-08-22 22:04:56 -0600

Seen: 826 times

Last updated: Aug 22 '21