'OSError: [Errno 13] Permission denied' when launching a node
Hello everyone, I'm having troubles launching the control of the erle hexapod robot. The error I get is the following:
... logging to /home/jaime/.ros/log/a6417f20-4a0d-11e8-b20b-3cf862730d5c/roslaunch-jaime-Lenovo-4407.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB. Traceback (most recent call last): File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/__init__.py", line 306, in main p.start() File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/parent.py", line 268, in start self._start_infrastructure() File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/parent.py", line 217, in _start_infrastructure self._load_config() File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/parent.py", line 132, in _load_config roslaunch_strs=self.roslaunch_strs, verbose=self.verbose) File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/config.py", line 451, in load_config_default loader.load(f, config, verbose=verbose) File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 748, in load self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose) File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 720, in _load_launch self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose) File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 656, in _recurse_load n = self._node_tag(tag, context, ros_config, default_machine, verbose=verbose) File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call return f(*args, **kwds) File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 407, in _node_tag self._param_tag(t, param_ns, ros_config, force_local=True, verbose=verbose) File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call return f(*args, **kwds) File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 264, in _param_tag value = self.param_value(verbose, name, ptype, *vals) File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslaunch/loader.py", line 489, 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
The control launch file is the following: <launch>
<rosparam file="$(find spider_control)/config/spider_control.yaml" command="load"/>
<node name="controller_spawner" pkg="controller_manager" type="spawner" respawn="false" output="screen" ns="/spider" args=" coxa_joint_r1_position_controller coxa_joint_r2_position_controller coxa_joint_r3_position_controller coxa_joint_l1_position_controller coxa_joint_l2_position_controller coxa_joint_l3_position_controller femur_joint_r1_position_controller femur_joint_r2_position_controller femur_joint_r3_position_controller femur_joint_l1_position_controller femur_joint_l2_position_controller femur_joint_l3_position_controller tibia_joint_r1_position_controller tibia_joint_r2_position_controller tibia_joint_r3_position_controller tibia_joint_l1_position_controller tibia_joint_l2_position_controller tibia_joint_l3_position_controller joint_state_controller"/>
<node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" respawn="false" output="screen"> <remap from="/joint_states" to="/spider/joint_states"/> </node>
</launch>
And the .yaml file is:
spider: # Publish all joint states ----------------------------------- joint_state_controller: type: joint_state_controller/JointStateController publish_rate: 50
# Position Controllers ---------------------------------------
# http://gazebosim.org/tutorials?tut=ro...
# HEAD
coxa_joint_r1_position_controller: type: effort_controllers/JointPositionController joint: coxa_joint_r1 #pid: {p: 100.0, i: 0.01, d: 10.0} pid: {p: 0.0, i: 0.0, d: 0.0}
...and so on.
Can anyone help me, please?
Thank you.