Open piqiuni opened 5 months ago
Similar error:
(myenv) $ python planner/Frenet/frenet_planner.py Loaded settings from /home/plusai/cp/beliefplanning/planner/Frenet/configs/risk.json recorded/hand-crafted/DEU_Muc-4_2_T-1.xml >>> state_list[0].time_step=0 != self.initial_time_step=1
similiar error : recorded/hand-crafted/DEU_Muc-4_2_T-1.xml >>> <LaneletNetwork/find_lanelet_by_id>: provided id is not valid! id = None
@KhMustafa can you help to solve this?
The problem may be related to the versions of the commonroad packages. Are you using the same versions as the ones specified in the requirements.txt file?
@KhMustafa Thanks for the reply! Yes, we are using a new conda env with Python 3.8, and the packages are installed with requirement.txt
@KhMustafa same problem with @piqiuni ! I try several versions of commonroad packages, but can't be compatible, so probably the provided requirement.txt is wrong. can you help me check the versions of packages, and upload a updated requirement.txt with corrent version.
Similiar error.
It should be noticed that the DEU_Muc-4_2_T-1.xml
file obtained by git clone https://gitlab.lrz.de/tum-cps/commonroad-scenarios
in project https://github.com/TUMFTM/EthicalTrajectoryPlanning is different to the one in this project. With the same conda environment, I can run EthicalTrajectoryPlanning perfectly but fail to run this project, which seems weird.
Replace the file DEU_Muc-4_2_T-1.xml
in this project with the one obtained from git clone https://gitlab.lrz.de/tum-cps/commonroad-scenarios
can avoid this error. However, it still fails to yield normal results.
Replace the file
DEU_Muc-4_2_T-1.xml
in this project with the one obtained fromgit clone https://gitlab.lrz.de/tum-cps/commonroad-scenarios
can avoid this error. However, it still fails to yield normal results.
yeah,I also notice that this file is not consistent with source file in https://gitlab.lrz.de/tum-cps/commonroad-scenarios. It should also be noticed that this repo has lots of hard code, most of which are related to the initial pos and obstacle pos differenct to the DEU_Muc-4_2_T-1.xml. so the hard code must be adjust to the same with scenario file.
Running
python planner/Frenet/frenet_planner.py
with Error:please help to figure it out, thanks!