BerkeleyLearnVerify / VerifAI

VerifAI is a software toolkit for the formal design and analysis of systems that include artificial intelligence (AI) and machine learning (ML) components.
BSD 3-Clause "New" or "Revised" License
170 stars 47 forks source link

Bug in Carla example #15

Closed abol-karimi closed 2 years ago

abol-karimi commented 3 years ago

Running examples/carla/pid_control/pid_control_simulator.py throws add_vehicle() got an unexpected keyword argument 'blueprint'.

siruissss commented 3 years ago

you need to modify argument 'blueprint', self.world.add_vehicle(PIDAgent, control_params=opt_dict, blueprint_filter=blueprint.id, spawn=spawn, physics=physics, has_collision_sensor=True, has_lane_sensor=True, ego=True)

dfremont commented 2 years ago

I'm guessing this was a CARLA API change, but in any case, the new CARLA examples go through Scenic and don't have this problem. Please feel free to file a new issue if you can't get those to run.