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
Describe the bug
When using "AddEntityAction" in OpenSCENARIO, the road user is just placed visually on the correct place.
To Reproduce
Place print statements for all road objects in carla_data_provider.py in def on_carla_tick():
for index, actor in enumerate(CarlaDataProvider._actor_location_map):
name = actor.type_id
actor = actor.get_location()
print("type: " + str(name) + " || x: " + str(actor.x)+ " | y: " + str(actor.y) + " | z: " + str(actor.z))
Execute example "StoryAddEntityAction.xosc"
Observe terminal
Expected behavior
Normally, two entities (a tesla model 3 and the container should appear later when placing according to the xosc file.
Anyhow, all four vehicles are shown from beginning and have coordinates. The later-spawning vehicles are located round about at (0,0,0). They are already there on the map although they should not.
When "spawing" according to OpenX, they are moved in the engine visually, but according to the prints, they are still located round about (0,0,0).
Furthermore, they cannot be controlled using OpenSCENARIO commands. It seems that the actor is not linked as a carla object in the scenario runner for added entities.
Desktop (please complete the following information):
Describe the bug
When using "AddEntityAction" in OpenSCENARIO, the road user is just placed visually on the correct place.
To Reproduce
for index, actor in enumerate(CarlaDataProvider._actor_location_map):
name = actor.type_id
actor = actor.get_location()
print("type: " + str(name) + " || x: " + str(actor.x)+ " | y: " + str(actor.y) + " | z: " + str(actor.z))
Expected behavior
Normally, two entities (a tesla model 3 and the container should appear later when placing according to the xosc file.
Anyhow, all four vehicles are shown from beginning and have coordinates. The later-spawning vehicles are located round about at (0,0,0). They are already there on the map although they should not.
When "spawing" according to OpenX, they are moved in the engine visually, but according to the prints, they are still located round about (0,0,0).
Furthermore, they cannot be controlled using OpenSCENARIO commands. It seems that the actor is not linked as a carla object in the scenario runner for added entities.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: