CarliaInterface wont add traffic agent
Summary
Adding a traffic agent from the Carla Interface does not work.
Steps to reproduce
Initialize Carla Interface --> 'Add Traffic Agent'
What is the current bug behavior?
Traffic agent not added, python throws an error.
What is the expected correct behavior?
Add an agent to the Agents list in the GUI (Carla Interface tab)
Relevant logs and/or screenshots
in modules\carlainterface\action\ carlainterfaceaction.py: in add_traffic_agent():
Traceback (most recent call last):
File "C:\Users\chkok\PycharmProjects\joan-cedric-thesisproject\modules\carlainterface\dialog\carlainterfacedialog.py", line 50, in btn_add_traffic_vehicle_click
agent = self.module_action.add_traffic_agent()
File "C:\Users\chkok\PycharmProjects\joan-cedric-thesisproject\modules\carlainterface\action\carlainterfaceaction.py", line 367, in add_traffic_agent
self.settings.traffic_vehicles.name = vehicle.name
AttributeError: 'TrafficVehicle' object has no attribute 'name'
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)