Docs updated

This commit is contained in:
sergi-e 2020-05-04 17:45:31 +02:00 committed by Marc Garcia Puig
parent 042236a0c0
commit 0124a47bc9
5 changed files with 9 additions and 9 deletions

View File

@ -82,7 +82,7 @@ export UE4_ROOT=~/UnrealEngine_4.24
make launch
make PythonAPI
# Run an example script to test CARLA.
# Press play in the Editor to initialize the server, and run an example script to test CARLA.
cd PythonAPI/examples
python3 spawn_npc.py
```

View File

@ -48,7 +48,7 @@ git clone https://github.com/carla-simulator/carla
make launch
make PythonAPI
# Run an example script to test CARLA.
# Press play in the Editor to initialize the server, and run an example script to test CARLA.
cd PythonAPI/Examples && python3 spawn_npc.py
```
</details>

View File

@ -16,11 +16,11 @@ The identifier of the blueprint this actor was based on, e.g. "vehicle.ford.must
<h3>Methods</h3>
- <a name="carla.Actor.add_impulse"></a>**<font color="#7fb800">add_impulse</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**impulse**</font>)
Adds an impulse to the actor.
Adds an impulse to the actor. The parameter `impulse` determines magnitude and global axis where it is applied.
- **Parameters:**
- `impulse` (_[carla.Vector3D](#carla.Vector3D)_)
- <a name="carla.Actor.add_angular_impulse"></a>**<font color="#7fb800">add_angular_impulse</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**impulse**</font>)
Adds an angular impulse to the actor (in degrees).
Adds an angular impulse to the actor. The parameter `impulse` determines magnitude and global axis where it is applied.
- **Parameters:**
- `impulse` (_[carla.Vector3D](#carla.Vector3D)_)
- <a name="carla.Actor.destroy"></a>**<font color="#7fb800">destroy</font>**(<font color="#00a6ed">**self**</font>)
@ -2455,7 +2455,7 @@ Command adaptation of **<font color="#7fb800">add_angular_impulse()</font>** in
- <a name="command.ApplyAngularImpulse.actor_id"></a>**<font color="#f8805a">actor_id</font>** (_int_)
Actor affected by the command.
- <a name="command.ApplyAngularImpulse.impulse"></a>**<font color="#f8805a">impulse</font>** (_[carla.Vector3D](#carla.Vector3D)_)
Angular impulse applied to the actor.
Angular impulse applied to the actor. Determines magnitude and global axis where it is applied.
<h3>Methods</h3>
- <a name="command.ApplyAngularImpulse.__init__"></a>**<font color="#7fb800">\__init__</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**actor**</font>, <font color="#00a6ed">**impulse**</font>)

View File

@ -36,14 +36,14 @@
- param_name: impulse
type: carla.Vector3D
doc: >
Adds an impulse to the actor.
Adds an impulse to the actor. The parameter `impulse` determines magnitude and global axis where it is applied.
# --------------------------------------
- def_name: add_angular_impulse
params:
- param_name: impulse
type: carla.Vector3D
doc: >
Adds an angular impulse to the actor (in degrees).
Adds an angular impulse to the actor. The parameter `impulse` determines magnitude and global axis where it is applied.
# --------------------------------------
- def_name: destroy
return: bool

View File

@ -281,7 +281,7 @@
- class_name: ApplyAngularImpulse
# - DESCRIPTION ------------------------
doc: >
Command adaptation of **<font color="#7fb800">add_angular_impulse()</font>** in carla.Actor. Adds angular impulse to an actor.
Command adaptation of **<font color="#7fb800">add_angular_impulse()</font>** in carla.Actor. Adds angular impulse to an actor.
# - PROPERTIES -------------------------
instance_variables:
- var_name: actor_id
@ -291,7 +291,7 @@
- var_name: impulse
type: carla.Vector3D
doc: >
Angular impulse applied to the actor.
Angular impulse applied to the actor. Determines magnitude and global axis where it is applied.
# - METHODS ----------------------------
methods:
- def_name: __init__