No module Webots_ros2_driver when following Webots tutorial
Hello everyone!
I installed ROS2 galactic distro and I am following the "Setting-up a Robot Simulation (Webots)" tutorial. (https://docs.ros.org/en/galactic/Tuto...)
I follow all the steps until "7 Test the code" and the "ros2 launch my_package robot_launch.py" command return an error :
*InvalidLaunchFileError: Caught exception when trying to load file of format [py]: No module named 'webots_ros2_driver'*
I do not if it is linked but the previous build command install only one package (my_package) and had a warning:
*WARNING:colcon.colcon_ros.prefix_path.ament:The path '/home/coder/webots_test_ws/install/my_package' in the environment variable AMENT_PREFIX_PATH doesn't exist*
Thank you for your help!
Have you installed the package webots_ros2?
Reference: https://github.com/cyberbotics/webots...
Please check demo works first.
Did you get the warning when you try
colcon build
?