2019-07-01 23:46:27 +08:00
|
|
|
---
|
|
|
|
- module_name: carla
|
|
|
|
doc: >
|
|
|
|
# - CLASSES ------------------------------
|
|
|
|
classes:
|
|
|
|
- class_name: WorldSnapshot
|
|
|
|
# - DESCRIPTION ------------------------
|
|
|
|
doc: >
|
|
|
|
# - PROPERTIES -------------------------
|
|
|
|
instance_variables:
|
|
|
|
- var_name: id
|
|
|
|
doc: >
|
|
|
|
- var_name: frame
|
|
|
|
doc: >
|
|
|
|
- var_name: timestamp
|
|
|
|
doc: >
|
|
|
|
# - METHODS ----------------------------
|
|
|
|
methods:
|
|
|
|
- def_name: has_actor
|
|
|
|
params:
|
|
|
|
- param_name: actor_id
|
|
|
|
type: int
|
|
|
|
doc: >
|
|
|
|
Check if an actor is present in this snapshot.
|
|
|
|
# --------------------------------------
|
|
|
|
- def_name: find
|
2019-07-03 00:32:23 +08:00
|
|
|
return:
|
2019-07-01 23:46:27 +08:00
|
|
|
params:
|
|
|
|
- param_name: actor_id
|
|
|
|
type: int
|
|
|
|
doc: >
|
|
|
|
Find an ActorSnapshot by id.
|
|
|
|
# --------------------------------------
|
|
|
|
- def_name: __len__
|
|
|
|
doc: >
|
|
|
|
# --------------------------------------
|
|
|
|
- def_name: __iter__
|
|
|
|
doc: >
|
|
|
|
# --------------------------------------
|
|
|
|
- def_name: __eq__
|
|
|
|
params:
|
|
|
|
- param_name: other
|
|
|
|
type: carla.WorldSnapshot
|
|
|
|
doc: >
|
|
|
|
# --------------------------------------
|
|
|
|
- def_name: __ne__
|
|
|
|
params:
|
|
|
|
- param_name: other
|
|
|
|
type: carla.WorldSnapshot
|
|
|
|
doc: >
|
|
|
|
# --------------------------------------
|
|
|
|
- def_name: __self__
|
|
|
|
doc: >
|
|
|
|
# --------------------------------------
|
2019-07-03 00:32:23 +08:00
|
|
|
|
2019-07-01 23:46:27 +08:00
|
|
|
- class_name: ActorSnapshot
|
|
|
|
# - DESCRIPTION ------------------------
|
|
|
|
doc: >
|
|
|
|
# - PROPERTIES -------------------------
|
|
|
|
instance_variables:
|
|
|
|
- var_name: id
|
2019-07-02 21:02:39 +08:00
|
|
|
type: int
|
2019-07-01 23:46:27 +08:00
|
|
|
doc: >
|
|
|
|
# - METHODS ----------------------------
|
|
|
|
methods:
|
|
|
|
- def_name: get_transform
|
2019-07-03 00:32:23 +08:00
|
|
|
return: carla.Transform
|
2019-07-01 23:46:27 +08:00
|
|
|
doc: >
|
|
|
|
# --------------------------------------
|
|
|
|
- def_name: get_velocity
|
2019-07-03 00:32:23 +08:00
|
|
|
return: carla.Vector3D
|
2019-07-01 23:46:27 +08:00
|
|
|
doc: >
|
|
|
|
# --------------------------------------
|
|
|
|
- def_name: get_angular_velocity
|
2019-07-03 00:32:23 +08:00
|
|
|
return: carla.Vector3D
|
2019-07-01 23:46:27 +08:00
|
|
|
doc: >
|
|
|
|
# --------------------------------------
|
|
|
|
- def_name: get_acceleration
|
2019-07-03 00:32:23 +08:00
|
|
|
return: carla.Vector3D
|
2019-07-01 23:46:27 +08:00
|
|
|
doc: >
|
|
|
|
# --------------------------------------
|
|
|
|
- def_name: __self__
|
|
|
|
doc: >
|
|
|
|
# --------------------------------------
|
|
|
|
...
|