Compare commits
37 Commits
53816ccd88
...
537739972f
Author | SHA1 | Date |
---|---|---|
Daniel | 537739972f | |
Daniel | 623a356a0e | |
Daniel | 85ed177b81 | |
Daniel | f1fa9b19bd | |
Daniel | edb2d1849d | |
Daniel | fca4a67442 | |
Daniel | 5abc41af92 | |
Daniel | 2c900e9cb7 | |
Daniel | f28453cd16 | |
Daniel | 4b925a9dd6 | |
Daniel | 7e08bf1bef | |
Daniel | 1af31a06b7 | |
Daniel | 44176daee9 | |
Daniel | 8c974eb89c | |
Daniel | 914113cc27 | |
Daniel | a4f98209f8 | |
Daniel | b93ce420a3 | |
Daniel | 007b29b2b8 | |
Daniel | 61f904b647 | |
Daniel | 6957cc8f22 | |
Daniel | ab0bb04eab | |
Daniel | cf4b79be86 | |
Daniel | 032bc9928c | |
Daniel | e45b959606 | |
Daniel | 94b55daaf3 | |
Daniel | ac44fbbfe6 | |
Daniel | 0ad315d681 | |
Daniel | f583a01589 | |
Daniel | 5b7c074f1a | |
Daniel | faa0bf5e5e | |
Daniel | 384732c873 | |
Daniel | 0a0aae6757 | |
Daniel | f52306bfb6 | |
Daniel | c94283721e | |
Daraan | c3660aa47b | |
Daniel | 6788f7d9aa | |
Minokori | 3e5ae96ef4 |
|
@ -18,6 +18,7 @@
|
||||||
* PythonAPI `Sensor.is_listening` was defined twice (property and method), cleaned and clarified it as a method.
|
* PythonAPI `Sensor.is_listening` was defined twice (property and method), cleaned and clarified it as a method.
|
||||||
* Added V2X sensors for cooperative awareness message and custom user-defined messages to support vehicle-to-vehicle communication
|
* Added V2X sensors for cooperative awareness message and custom user-defined messages to support vehicle-to-vehicle communication
|
||||||
* Added named tuples for BasicAgent.py's detection result to allow for type-hints and better semantics.
|
* Added named tuples for BasicAgent.py's detection result to allow for type-hints and better semantics.
|
||||||
|
* Added type-hint support for the PythonAPI
|
||||||
|
|
||||||
|
|
||||||
## CARLA 0.9.15
|
## CARLA 0.9.15
|
||||||
|
|
|
@ -2786,14 +2786,18 @@ Describes a rotation for an object according to Unreal Engine's axis system.
|
||||||
- **Parameters:**
|
- **Parameters:**
|
||||||
- `location` (_[carla.Location](#carla.Location)_)
|
- `location` (_[carla.Location](#carla.Location)_)
|
||||||
- `rotation` (_[carla.Rotation](#carla.Rotation)<small> - degrees (pitch, yaw, roll)</small>_)
|
- `rotation` (_[carla.Rotation](#carla.Rotation)<small> - degrees (pitch, yaw, roll)</small>_)
|
||||||
|
- <a name="carla.Transform.inverse_transform"></a>**<font color="#7fb800">inverse_transform</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**in_point**</font>)
|
||||||
|
Applies the inverse of `transform` by translating a 3D point in place from global to local coordinates using the current transformation as frame of reference.
|
||||||
|
- **Parameters:**
|
||||||
|
- `in_point` (_[carla.Vector3D](#carla.Vector3D)_) - Location in the space to which the inverse transformation will be applied.
|
||||||
- <a name="carla.Transform.transform"></a>**<font color="#7fb800">transform</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**in_point**</font>)
|
- <a name="carla.Transform.transform"></a>**<font color="#7fb800">transform</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**in_point**</font>)
|
||||||
Translates a 3D point from local to global coordinates using the current transformation as frame of reference.
|
Translates a 3D point in place from local to global coordinates using the current transformation as frame of reference.
|
||||||
- **Parameters:**
|
- **Parameters:**
|
||||||
- `in_point` (_[carla.Location](#carla.Location)_) - Location in the space to which the transformation will be applied.
|
- `in_point` (_[carla.Vector3D](#carla.Vector3D)_) - Location in the space to which the transformation will be applied.
|
||||||
- <a name="carla.Transform.transform_vector"></a>**<font color="#7fb800">transform_vector</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**in_vector**</font>)
|
- <a name="carla.Transform.transform_vector"></a>**<font color="#7fb800">transform_vector</font>**(<font color="#00a6ed">**self**</font>, <font color="#00a6ed">**in_point**</font>)
|
||||||
Rotates a vector using the current transformation as frame of reference, without applying translation. Use this to transform, for example, a velocity.
|
Rotates a vector in place using the current transformation as frame of reference, without applying translation. Use this to transform, for example, a velocity.
|
||||||
- **Parameters:**
|
- **Parameters:**
|
||||||
- `in_vector` (_[carla.Vector3D](#carla.Vector3D)_) - Vector to which the transformation will be applied.
|
- `in_point` (_[carla.Vector3D](#carla.Vector3D)_) - Vector to which the transformation will be applied.
|
||||||
|
|
||||||
##### Getters
|
##### Getters
|
||||||
- <a name="carla.Transform.get_forward_vector"></a>**<font color="#7fb800">get_forward_vector</font>**(<font color="#00a6ed">**self**</font>)
|
- <a name="carla.Transform.get_forward_vector"></a>**<font color="#7fb800">get_forward_vector</font>**(<font color="#00a6ed">**self**</font>)
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -438,20 +438,29 @@
|
||||||
- def_name: transform
|
- def_name: transform
|
||||||
params:
|
params:
|
||||||
- param_name: in_point
|
- param_name: in_point
|
||||||
type: carla.Location
|
type: carla.Vector3D
|
||||||
doc: >
|
doc: >
|
||||||
Location in the space to which the transformation will be applied.
|
Location in the space to which the transformation will be applied.
|
||||||
doc: >
|
doc: >
|
||||||
Translates a 3D point from local to global coordinates using the current transformation as frame of reference.
|
Translates a 3D point in place from local to global coordinates using the current transformation as frame of reference.
|
||||||
|
# --------------------------------------
|
||||||
|
- def_name: inverse_transform
|
||||||
|
params:
|
||||||
|
- param_name: in_point
|
||||||
|
type: carla.Vector3D
|
||||||
|
doc: >
|
||||||
|
Location in the space to which the inverse transformation will be applied.
|
||||||
|
doc: >
|
||||||
|
Applies the inverse of `transform` by translating a 3D point in place from global to local coordinates using the current transformation as frame of reference.
|
||||||
# --------------------------------------
|
# --------------------------------------
|
||||||
- def_name: transform_vector
|
- def_name: transform_vector
|
||||||
params:
|
params:
|
||||||
- param_name: in_vector
|
- param_name: in_point
|
||||||
type: carla.Vector3D
|
type: carla.Vector3D
|
||||||
doc: >
|
doc: >
|
||||||
Vector to which the transformation will be applied.
|
Vector to which the transformation will be applied.
|
||||||
doc: >
|
doc: >
|
||||||
Rotates a vector using the current transformation as frame of reference, without applying translation. Use this to transform, for example, a velocity.
|
Rotates a vector in place using the current transformation as frame of reference, without applying translation. Use this to transform, for example, a velocity.
|
||||||
# --------------------------------------
|
# --------------------------------------
|
||||||
- def_name: get_forward_vector
|
- def_name: get_forward_vector
|
||||||
return: carla.Vector3D
|
return: carla.Vector3D
|
||||||
|
|
Loading…
Reference in New Issue