-
|
Hi there, I just tried running carlaChallenge2.scenic in Town10HD_Opt with the Carla UE5 version (Python 3.10.18). The scenario starts running, connects to Carla, loads the map and then crashes and gives an error "TypeError: points() takes from 2 to 3 positional arguments but 1 were given". I essentially just copied the example scenario, only modifying the map name and the path to the .xodr file. Has anyone else had this issue or knows how to solve it? Thx a lot in advance. Here is the full log: An here is the code: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
So, I dug through the scenic code and found that in core/geometry.py they use makeShapelyPoint = shapely.lib.points to make a shapely point. I changed it to makeShapelyPoint = shapely.Point and it works fine now. That being said, I'm not particularly happy that I had to meddle with the scenic code to make it work. Is this just a me problem and for everyone else it works fine or is a fix required here? |
Beta Was this translation helpful? Give feedback.
So, I dug through the scenic code and found that in core/geometry.py they use makeShapelyPoint = shapely.lib.points to make a shapely point. I changed it to makeShapelyPoint = shapely.Point and it works fine now. That being said, I'm not particularly happy that I had to meddle with the scenic code to make it work. Is this just a me problem and for everyone else it works fine or is a fix required here?