carla/PythonAPI/docs/snapshot.yml

85 lines
2.2 KiB
YAML
Raw Normal View History

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
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-01 23:46:27 +08:00
- class_name: ActorSnapshot
# - DESCRIPTION ------------------------
doc: >
# - PROPERTIES -------------------------
instance_variables:
- var_name: id
type: int
2019-07-01 23:46:27 +08:00
doc: >
# - METHODS ----------------------------
methods:
- def_name: get_transform
return: carla.Transform
2019-07-01 23:46:27 +08:00
doc: >
# --------------------------------------
- def_name: get_velocity
return: carla.Vector3D
2019-07-01 23:46:27 +08:00
doc: >
# --------------------------------------
- def_name: get_angular_velocity
return: carla.Vector3D
2019-07-01 23:46:27 +08:00
doc: >
# --------------------------------------
- def_name: get_acceleration
return: carla.Vector3D
2019-07-01 23:46:27 +08:00
doc: >
# --------------------------------------
- def_name: __self__
doc: >
# --------------------------------------
...