felipecode / coiltraine

Training framework for conditional imitation learning
MIT License
230 stars 68 forks source link

blueprint 'sensor.other.can_bus' not found #8

Open ajboloor opened 5 years ago

ajboloor commented 5 years ago

I was trying to run the COiLTRAiNE baseline agent on Carla 0.9.4 with the command:

python3  srunner/challenge/challenge_evaluator.py --file --scenario=group:ChallengeBasic --agent=../coiltraine/drive/CoILBaseline.py --config ../coiltraine/drive/sample_agent.json

And got the following error:

blueprint 'sensor.can_bus' not found

To replicate it, I tried the following code:

import carla
client = carla.Client("127.0.0.1", 2000)
client.set_timeout(2.0)
world = client.get_world()
blueprints = world.get_blueprint_library()
blueprints.find('sensor.can_bus')

Which gave the same error. I can't seem to find the sensor can_bus anywhere in the Carla docs. Any idea how to fix this?

felipecode commented 5 years ago

This should be fixed, I was using an older version of the scenario runner.