CAS-LRJ / ISS

Intelligent Self-driving System
53 stars 15 forks source link

ModuleNotFoundError in ISS.algorithms.planning when running roslaunch carla_bridge carla_demo.launch #26

Closed Jumbo-zczlbj0 closed 8 months ago

Jumbo-zczlbj0 commented 8 months ago

Environment

Description

Encountered a ModuleNotFoundError when trying to run roslaunch carla_bridge carla_demo.launch in the ros1-dev-reframe. The error suggests that the module ISS.algorithms.planning cannot be found or imported.

Steps to Reproduce

  1. Run roslaunch carla_bridge carla_demo.launch from the ISS/ros1_ws/src/carla_bridge/launch directory.
  2. Error occurs during the execution.

Expected Behavior

The script should successfully import all required modules and execute without errors.

Actual Behavior

The script fails to execute and throws the following error:

Traceback (most recent call last): File "/container/documents/ISS/ros1_ws/devel/lib/iss_manager/planning_manager_node.py", line 15, in exec(compile(fh.read(), python_script, 'exec'), context) File "/container/documents/ISS/ros1_ws/src/iss_manager/scripts/planning_manager_node.py", line 13, in from ISS.algorithms.planning.global_planner.lanelet2_planner import Lanelet2Planner ModuleNotFoundError: No module named 'ISS.algorithms.planning'

2

When trying to manually import the module in Python 3.8.10, the same error occurs:

import ISS import ISS.algorithms import ISS.algorithms.planning Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'ISS.algorithms.planning'

5

SailorBrandon commented 8 months ago

Please refer to the new commit 902b592d2e053a71b8ed1fb29683af05cdbcc366