Permission denied with running roslaunch for multiple machines

asked 2014-05-02 15:55:51 -0600

Dapake gravatar image

updated 2014-05-03 05:43:06 -0600

Hey all, I searched through the forums and I didn't see anyone with this particular issue so I figure'd I'd post here. Pardon me if someone already answered this question and I missed it. Anyways, so I have a roslaunch file set up to start nodes on multiple machines, one being my computer, and the other being an O-Droid which will control the robot. The purpose is to send remote commands from my computer to the robot.

My roslaunch file is below:

   <?xml version="1.0"?>
<!--xml file for roslaunch
    roslaunch will navigate through xml file launching all nodes automatically

    <!--Machine declarations-->
    <machine name="Command" address="localhost" env-loader="/home/viki/"/>
    <machine name="O-Droid" address="odroid" env-loader="/home/odroid/" user="odroid"/>

    <!--Hardware Interface nodes-->
    <node machine="O-Droid" name="i2c_node"      pkg="hardware_interface" type="i2c_node"/>
    <node machine="O-Droid" name="adafruit_node" pkg="hardware_interface" type="adafruit_node"/>
    <node machine="O-Droid" name="adc_node"      pkg="hardware_interface" type="adc_node"/>

    <!--node name="ina226_node"   pkg="hardware_interface" type="ina266_node"/-->

    <!--Joy nodes-->
    <node machine="Command" name="joy_node" pkg="joy" type="joy_node"/>
    <!--Joy parameters-->

    <!--LADAR Nodes-->
    <!--<node name="urg_node" pkg="urg" type="?"/>-->
    <!--node name="ladar_node" pkg="ladar" type="ladar_node"/-->

    <!--Motor Controller nodes-->
    <node machine="O-Droid" name="bucket_motor_node" pkg="motor_controller" type="bucket_motor_node"/>
    <node machine="O-Droid" name="linear_actuator_node" pkg="motor_controller" type="linear_actuator_node"/>
    <node machine="O-Droid" name="wheel_motor_node" pkg="motor_controller" type="wheel_motor_node"/>

    <!--Power Monitering nodes-->
    <!--node name="power_monitoring_node" pkg="power_monitoring" type="power_monitoring_node"/-->

    <!--Remote Control nodes-->
    <node machine="Command" name="remote_control_node" pkg="remote_control" type="xbox_controller_node"/>

    <!--Remote Control Paramaters-->
    <param name="remote_control/send_freq" value="10"/>
    <param name="remote_control/xbox_controller/mapping" value="2"/>


When i first ran the roslaunch, I got this output:

remote[odroid-0]: env: /home/odroid/ Permission denied

[odroid-0] process has died remote roslaunch failed to launch: O-Droid

I edited permissions on the O-Droid and now when I run my roslaunch file I get this output:

remote[odroid-0]: Exception while registering with roslaunch parent [http://ROS:56437/]: Traceback (most recent call last): File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/", line 498, in _register_with_server code, msg, _ = server.register(name, self.uri) File "/usr/lib/python2.7/", line 1224, in __call__ return self.__send(self.__name, args) File "/usr/lib/python2.7/", line 1578, in __request verbose=self.__verbose File "/usr/lib/python2.7/", line 1264, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib/python2.7/", line 1292, in single_request self.send_content(h, request_body) File "/usr/lib/python2.7/", line 1439, in send_content connection.endheaders(request_body)
File "/usr/lib/python2.7/", line 969, in endheaders self._send_output(message_body) File "/usr/lib/python2.7/", line 829, in _send_output self.send(msg) File "/usr/lib/python2.7/", line 791, in send self.connect() File "/usr/lib/python2.7/", line 772, in connect self.timeout, self.source_address) File "/usr/lib/python2.7/", line 553, in create_connection for res in getaddrinfo(host, port, 0 ...

edit retag flag offensive close merge delete


hey @Dapake! did you manage to solve this issue? I'm having the same problem. question link

linusnie gravatar image linusnie  ( 2017-08-08 04:03:36 -0600 )edit