ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
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
4

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

1

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 image gvdhoorn  ( 2018-12-03 02:43:58 -0600 )edit

Got the same problem as using env_set and configs for xacro. +x permission solved it

Doan Nguyen gravatar image Doan Nguyen  ( 2021-08-31 15:02:57 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-12-02 09:05:50 -0600

Seen: 4,841 times

Last updated: Dec 03 '18