I just tried to add a lanelet and click on it, but for me everything works fine.
Can you provide all list of required actions to perform so that I can reconstruct the error locally?
This is a bug in commonroad-io which we already solved in our internal repository.
We will update the public commonroad-io version next week.
Then, this problem should be fixed.
Okay. It seems that the following __deepcopy__ has an issue with self._buffered_street=None.
def __deepcopy__(self, memo):
cls = self.__class__
result = cls.__new__(cls)
print("deecopy occurs! _buffered_strtee is reset to None")
self._buffered_strtee = None
memo[id(self)] = result
for k, v in self.__dict__.items():
setattr(result, k, copy.deepcopy(v, memo))
result._create_buffered_strtree()
return result
As I’m testing cr-scenario-creation, any work-around method can you provide? Deleting self._buffered_street=None will introduce other issues, from what I see. If no method can be provided, I’ll wait next week. Thx.