Closed Daraan closed 1 week ago
https://github.com/Daraan/LunaticAI-Driver-for-CARLA-Simulator/blob/57f81696b9d9ab6b670194d71d311e5dabb9d111/classes/HUD.py#L152
Vehicles is a list of (float, Vehicle)
TypeError: '<' not supported between instances of 'Vehicle' and 'Vehicle'
Figure out what caused this. Where does wrong type in tuple come from? Why does it work in most other cases.
This issue is very rare and I haven't met in in the last months.
Origin of the error, having (d1, V1) , (d2, V2)
This issue has been taken care of in the dev branch by just relying on the float value.
https://github.com/Daraan/LunaticAI-Driver-for-CARLA-Simulator/blob/57f81696b9d9ab6b670194d71d311e5dabb9d111/classes/HUD.py#L152
Vehicles is a list of (float, Vehicle)
TypeError: '<' not supported between instances of 'Vehicle' and 'Vehicle'
Figure out what caused this. Where does wrong type in tuple come from? Why does it work in most other cases.