ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You're passing a path that is not an absolute path. See #q331346 for a related question.


To be precise, there are two issues here:

  1. ~/home/mattia/.. is not a valid path: ~ already evaluates to /home/mattia, so this would evaluate to /home/mattia/home/mattia.
  2. ~ is evaluated (ie: replaced) by the shell (ie: bash), not roslaunch. So roslaunch doesn't do anything with it and passes the path directly to whatever tool/node/script it is that you're trying to start. As ~ is not a valid path, it will fail to open it (as evidenced by the "Error opening file" that you see).