Update CHANGELOG and Python API reference

This commit is contained in:
nsubiron 2019-04-03 19:30:00 +02:00
parent 2a50786c62
commit 2ffb3196fa
2 changed files with 26 additions and 0 deletions

View File

@ -47,6 +47,9 @@
* Fixed vehicles missing the route if autopilot enabled too late
* Enhanced stop triggers options
* Fixed division by zero in is_within_distance_ahead()
* Added new carla.command.SpawnActor to spawn actors in batch
* Added method `client.apply_batch_sync` that waits for server response
* Updated `spawn_npc.py` to spawn vehicles in batch
## CARLA 0.9.4

View File

@ -21,6 +21,7 @@
- `show_recorder_collisions(string filename, char category1, char category2)`
- `show_recorder_actors_blocked(string filename, float min_time, float min_distance)`
- `apply_batch(commands, do_tick=False)`
- `apply_batch_sync(commands, do_tick=False) -> list(carla.command.Response)`
## `carla.World`
@ -470,47 +471,69 @@ Static presets
# module `carla.command`
`carla.command.FutureActor` (not yet spawned actor handler)
## `carla.command.Response`
- `actor_id`
- `error` -> str|empty
- `has_error()`
## `carla.command.SpawnActor`
- `__init__(blueprint, transform, parent=None)`
- `then(command)`
## `carla.command.DestroyActor`
- `__init__(actor)`
- `actor_id`
## `carla.command.ApplyVehicleControl`
- `__init__(actor, control)`
- `actor_id`
- `control`
## `carla.command.ApplyWalkerControl`
- `__init__(actor, control)`
- `actor_id`
- `control`
## `carla.command.ApplyTransform`
- `__init__(actor, transform)`
- `actor_id`
- `transform`
## `carla.command.ApplyVelocity`
- `__init__(actor, velocity)`
- `actor_id`
- `velocity`
## `carla.command.ApplyAngularVelocity`
- `__init__(actor, angular_velocity)`
- `actor_id`
- `angular_velocity`
## `carla.command.ApplyImpulse`
- `__init__(actor, impulse)`
- `actor_id`
- `impulse`
## `carla.command.SetSimulatePhysics`
- `__init__(actor, bool)`
- `actor_id`
- `enabled`
## `carla.command.SetAutopilot`
- `__init__(actor, bool)`
- `actor_id`
- `enabled`