Update python_api.md

This commit is contained in:
nsubiron 2018-11-15 18:19:52 +01:00
parent 4c9aec0764
commit e9c75a9522
1 changed files with 13 additions and 5 deletions

View File

@ -31,11 +31,11 @@
## `carla.DebugHelper` ## `carla.DebugHelper`
- `draw_point(location, size=0.1, color={Red}, life_time=-1.0, persistent_lines=True)` - `draw_point(location, size=0.1, color=carla.Color(), life_time=-1.0, persistent_lines=True)`
- `draw_line(begin, end, thickness=0.1, color={Red}, life_time=-1.0, persistent_lines=True)` - `draw_line(begin, end, thickness=0.1, color=carla.Color(), life_time=-1.0, persistent_lines=True)`
- `draw_arrow(begin, end, thickness=0.1, arrow_size=0.1, color={Red}, life_time=-1.0, persistent_lines=True)` - `draw_arrow(begin, end, thickness=0.1, arrow_size=0.1, color=carla.Color(), life_time=-1.0, persistent_lines=True)`
- `draw_box(box, rotation, thickness=0.1, color={Red}, life_time=-1.0, persistent_lines=True)` - `draw_box(box, rotation, thickness=0.1, color=carla.Color(), life_time=-1.0, persistent_lines=True)`
- `draw_string(location, text, draw_shadow=False, color={Red}, life_time=-1.0, persistent_lines=True)` - `draw_string(location, text, draw_shadow=False, color=carla.Color(), life_time=-1.0, persistent_lines=True)`
## `carla.BlueprintLibrary` ## `carla.BlueprintLibrary`
@ -230,6 +230,7 @@ Static presets
- `x` - `x`
- `y` - `y`
- `z` - `z`
- `distance(other)`
- `__add__(other)` - `__add__(other)`
- `__sub__(other)` - `__sub__(other)`
- `__eq__(other)` - `__eq__(other)`
@ -250,6 +251,13 @@ Static presets
- `__eq__(other)` - `__eq__(other)`
- `__ne__(other)` - `__ne__(other)`
## `carla.BoundingBox`
- `location`
- `extent`
- `__eq__(other)`
- `__ne__(other)`
## `carla.Timestamp` ## `carla.Timestamp`
- `frame_count` - `frame_count`