the type was not there anyway

This commit is contained in:
Jose Carlos Ferrugem 2019-03-25 14:19:40 -04:00
parent 180d6262a5
commit e92f944ec6
1 changed files with 1 additions and 2 deletions

View File

@ -257,8 +257,7 @@ def get_dynamic_objects(carla_world, carla_map):
location_gnss = carla_map.transform_to_geolocation(sl_transform.location) location_gnss = carla_map.transform_to_geolocation(sl_transform.location)
sl_dict = { sl_dict = {
"id": static_prop.id, "id": static_prop.id,
"position": [location_gnss.latitude, location_gnss.longitude, location_gnss.altitude], "position": [location_gnss.latitude, location_gnss.longitude, location_gnss.altitude]
"type": static_prop.type_id
} }
static_obstacles_dict[static_prop.id] = sl_dict static_obstacles_dict[static_prop.id] = sl_dict
return static_obstacles_dict return static_obstacles_dict