Robotics StackExchange | Archived questions

Roslaunch got a 'No such file or directory' error

I have built ROS and the dependencies from source to cross-compile it for ARM architecture. After build i run roscore and and get the after-mentioned error :

... logging to /home/jetsonvvr/.ros/log/8a1c5b60-5304-11ea-9968-16206b226c05/roslaunch-jetsonvvr-desktop-16495.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.

started roslaunch server http://localhost:43919/
ros_comm version 1.14.3


SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.3

NODES

auto-starting new master
process[master]: started with pid [16506]
ROS_MASTER_URI=http://localhost:11311/

setting /run_id to 8a1c5b60-5304-11ea-9968-16206b226c05
RLException: Roslaunch got a 'No such file or directory' error while attempting to run:

/home/jetsonvvr/Desktop/ROS_ARM_CROSSCOMPILE/ros_melodic/devel/lib/rosout/rosout __name:=rosout __log:=/home/jetsonvvr/.ros/log/8a1c5b60-5304-11ea-9968-16206b226c05/rosout-1.log

Please make sure that all the executables in this command exist and have
executable permission. This is often caused by a bad launch-prefix.
The traceback for the exception was written to the log file
[rosout-1] process has died without exit code [pid -1, cmd /home/jetsonvvr/Desktop/ROS_ARM_CROSSCOMPILE/ros_melodic/devel/lib/rosout/rosout __name:=rosout __log:=/home/jetsonvvr/.ros/log/8a1c5b60-5304-11ea-9968-16206b226c05/rosout-1.log].
log file: /home/jetsonvvr/.ros/log/8a1c5b60-5304-11ea-9968-16206b226c05/rosout-1*.log
[rosout-1] restarting process
Traceback (most recent call last):
  File "/home/jetsonvvr/Desktop/ROS_ARM_CROSSCOMPILE/ros_melodic/src/ros_comm/roslaunch/src/roslaunch/pmon.py", line 620, in _run
    r.start()
  File "/home/jetsonvvr/Desktop/ROS_ARM_CROSSCOMPILE/ros_melodic/src/ros_comm/roslaunch/src/roslaunch/nodeprocess.py", line 322, in start
    executable permission. This is often caused by a bad launch-prefix."""%(e.strerror, ' '.join(self.args)))
FatalProcessLaunch: Roslaunch got a 'No such file or directory' error while attempting to run:

/home/jetsonvvr/Desktop/ROS_ARM_CROSSCOMPILE/ros_melodic/devel/lib/rosout/rosout __name:=rosout __log:=/home/jetsonvvr/.ros/log/8a1c5b60-5304-11ea-9968-16206b226c05/rosout-1.log

Please make sure that all the executables in this command exist and have
executable permission. This is often caused by a bad launch-prefix.
[rosout-1] killing on exit
[master] killing on exit

The build it made in /home/jetsonvvr/Desktop/ROSARMCROSSCOMPILE/rosmelodic/build . and the installtion in /home/jetsonvvr/Desktop/ROSARMCROSSCOMPILE/rosmelodic/install

I have given executable permission to all .py and .launch files

Bashrc:

source /home/jetsonvvr/Desktop/ROS_ARM_CROSSCOMPILE/ros_melodic/devel/setup.bash
source /home/jetsonvvr/Desktop/ROS_ARM_CROSSCOMPILE/ros_melodic/install/setup.bash
export ROS_PACKAGE_PATH=~/Desktop/ROS_ARM_CROSSCOMPILE/ros_melodic/install/share
export ROS_PACKAGE_PATH=~/Desktop/ROS_ARM_CROSSCOMPILE/ros_melodic/src:${ROS_PACKAGE_PATH}
export ROS_HOSTNAME=localhost

Asked by kaponloto on 2020-02-21 05:51:32 UTC

Comments

This appears to be a duplicate of #q344579.

Please clarify.

If it is a duplicate, please update your previous question with any new information. Do not post duplicates.

Asked by gvdhoorn on 2020-02-21 08:30:08 UTC

I've closed this question for now. You should still be able to post a comment here to clarify whether this is a duplicate.

Asked by gvdhoorn on 2020-02-21 08:31:02 UTC

Answers