ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
FileNotFoundError: [Errno 2] No such file or directory: '/home/micdev/.ros/src/airplane_master/src/airplane_master/Master.log'
Note how the path is /home/micdev/.ros/...
.
Is that where your log file is located?
Please note that when starting nodes using roslaunch
, their working directory is set to $ROS_HOME
, which in many cases is set to $HOME/.ros
. In your case probably /home/micdev/.ros
.
See #q271442 and the linked Q&As there for more information.
Summarising: make sure you use absolute paths, not relative paths, or your scripts won't be able to find files they need.
2 | No.2 Revision |
FileNotFoundError: [Errno 2] No such file or directory: '/home/micdev/.ros/src/airplane_master/src/airplane_master/Master.log'
Note how the path is /home/micdev/.ros/...
.
Is that where your log file is located?
Please note that when starting nodes using roslaunch
, their working directory is set to $ROS_HOME
, which in many cases is set to $HOME/.ros
. In your case probably /home/micdev/.ros
.
See #q235337, #q271442 and the linked Q&As there for more information.
Summarising: make sure you use absolute paths, not relative paths, or your scripts won't be able to find files they need.