Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory error when installing and running #1

Open
mwlock opened this issue Sep 18, 2022 · 2 comments
Open

No such file or directory error when installing and running #1

mwlock opened this issue Sep 18, 2022 · 2 comments

Comments

@mwlock
Copy link

mwlock commented Sep 18, 2022

After following the provided instructions, I face the following error

[INFO] [launch]: All log files can be found below /home/matt/.ros/log/2022-09-18-16-52-18-092463-matt-linux-18511
[INFO] [launch]: Default logging verbosity is set to INFO
[ERROR] [launch]: Caught exception in launch (see debug for traceback): [Errno 2] No such file or directory: '/opt/ros/humble/share/webots_ros2_epuck/robot_launch.py'

I know for a fact that I have webots_ros2_epuck and am able to launch the simulator manually using

ros2 launch webots_ros2_epuck robot_launch.py
@debbynirwan
Copy link
Owner

Hi @matthew-william-lock , I have not tested the latest webots and ros humble. There may have been some changes in both.

@syedjawadakhtar
Copy link

Too late to answer, but for others.
Hi @matthew-william-lock,
You can edit the launch file mcl/launch/mcl_launch.py
on line 24:
from
os.path.join(package_dir, 'robot_launch.py')
to
os.path.join(package_dir, 'launch/robot_launch.py')

and this will hopefully remove the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants