Open abol-karimi opened 10 months ago
The root cause might be here:
https://github.com/carla-simulator/carla/blob/d7b45c1e159e6d13296f7a3a4e8b13e6c2d62c18/PythonAPI/carla/agents/navigation/behavior_agent.py#L70
since it's not clear what get_speed_limit()
returns right after spawning.
In https://github.com/carla-simulator/carla/blob/d7b45c1e159e6d13296f7a3a4e8b13e6c2d62c18/PythonAPI/carla/agents/navigation/behavior_agent.py#L76C1-L79C42 we have:
and in https://github.com/carla-simulator/carla/blob/d7b45c1e159e6d13296f7a3a4e8b13e6c2d62c18/PythonAPI/carla/agents/navigation/local_planner.py#L284C1-L284C48 we have:
so sometimes I get the following error: