You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to run the script below, based off the README of the oatomobile repository, but I am unable to get a driving agent that runs on the RIP algorithm in CARLA. I am using python3.5 and CARLA 0.9.6.
The agent instance doesn't get created. This is the error message I get for that line.
lib/python3.5/site-packages/oatomobile/baselines/base.py", line 64, in __init__
self._world = self._vehicle.get_world()
AttributeError: 'NoneType' object has no attribute 'get_world'
I also tried modifying the script from oatomobile.baselines.rulebased.blind.run.py because I was able to run the Blind model. I replaced the environment loop inside the main function to cater for the RIPAgent but still I couldn't run it.
# Runs the environment
oatomobile.EnvironmentLoop(
agent_fn=functools.partial(RIPAgent, models=models, algorithm="WCM"),
environment=env,
render_mode="human" if render else "none",
).run()
So, my question is how can I run the RIP agent on CARLA?
The text was updated successfully, but these errors were encountered:
I tried to run the script below, based off the README of the oatomobile repository, but I am unable to get a driving agent that runs on the RIP algorithm in CARLA. I am using python3.5 and CARLA 0.9.6.
The
agent
instance doesn't get created. This is the error message I get for that line.I also tried modifying the script from oatomobile.baselines.rulebased.blind.run.py because I was able to run the Blind model. I replaced the environment loop inside the main function to cater for the RIPAgent but still I couldn't run it.
So, my question is how can I run the RIP agent on CARLA?
The text was updated successfully, but these errors were encountered: