Closed Jumbo-zczlbj0 closed 8 months ago
Please refer to the new commit 902b592d2e053a71b8ed1fb29683af05cdbcc366
Please refer to the new commit 902b592
Did you pull the new commit?
Did you pull the new commit?
Hello,
Regarding the issue, a possible solution is to add an __init__.py
file in the /ISS/ISS/algorithms/planning/local_planner
directory. This file can be empty, but its presence will help Python recognize the directory as an importable module.
Here are the steps to follow:
Navigate to the /ISS/ISS/algorithms/planning/local_planner directory
.
Create an empty__init__.py
file.
Return to the ISS folder.
Re-run the python3 setup.py install
command.
This should resolve the issue you're encountering.
There is no such file in the original folder:
Best regards!
Environment:
ROS Version: ROS Noetic] Operating System: Docker Ubuntu 20.04 Python Version: Python 3.8.10
Issue Description: Encountered errors when running ROS nodes related to control_manager_node.py and planning_manager_node.py. The errors seem to relate to missing Python modules and unexpected arguments in class initialization.
Error 1: ModuleNotFoundError
The ModuleNotFoundError suggests that the module ISS.algorithms.planning.local_planner is missing or not found.
Error 2: TypeError in VehiclePIDController Initialization
This error occurs when initializing the VehiclePIDController class, indicating an unexpected keyword argument 'Kp'.
Steps to Reproduce:
Run the control_manager_node.py. Run the planning_manager_node.py. Observe the errors in the console. Expected Behavior: The nodes should initialize without errors and begin their respective processes.
Actual Behavior: The nodes fail to initialize due to the mentioned errors.