Ask Your Question
0

[Errno 13] Permission denied -roslaunch

asked 2018-12-02 09:20:17 -0600

Dragonslayer gravatar image

updated 2018-12-03 02:42:57 -0600

gvdhoorn gravatar image

ROS KINETIC PROBLEM DESCRIPTION: Got the following Error when roslaunch my launchfile.

File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/loader.py", line 491, in param_value
    p = subprocess.Popen(shlex.split(command), stdout=subprocess.PIPE)
  File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-12-02 09:40:47 -0600

Dragonslayer gravatar image

PROBLEMATIC LINE (in launchfile):

<param name="robot_description" command="$(find robot_description)/urdf/robot.urdf" />

SOLUTION: Change "command" to "textfile"

<param name="robot_description" textfile="$(find robot_description)/urdf/robot.urdf" />
edit flag offensive delete link more

Comments

The problem here was that command expects an actual program/tool/utility to run. $(find robot_description)/urdf/robot.urdf does not evaluate to a program that can be run, so you get a Permission denied error (as the .urdf does not have +x permissions set).

gvdhoorn gravatar imagegvdhoorn ( 2018-12-03 02:43:58 -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: 2018-12-02 09:05:50 -0600

Seen: 695 times

Last updated: Dec 03 '18