added unreal coord system, fixed v2x (#8251)
This commit is contained in:
parent
f7ed6c25e9
commit
2a2cc5f1be
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
|
@ -1999,7 +1999,7 @@ Iterate over the [carla.RadarDetection](#carla.RadarDetection) retrieved as data
|
||||||
|
|
||||||
## carla.Rotation<a name="carla.Rotation"></a>
|
## carla.Rotation<a name="carla.Rotation"></a>
|
||||||
Class that represents a 3D rotation and therefore, an orientation in space. CARLA uses the Unreal Engine coordinates system. This is a Z-up left-handed system. <br>
|
Class that represents a 3D rotation and therefore, an orientation in space. CARLA uses the Unreal Engine coordinates system. This is a Z-up left-handed system. <br>
|
||||||
<br>The constructor method follows a specific order of declaration: `(pitch, yaw, roll)`, which corresponds to `(Y-rotation,Z-rotation,X-rotation)`. <br> <br>![UE4_Rotation](https://d26ilriwvtzlb.cloudfront.net/8/83/BRMC_9.jpg) *Unreal Engine's coordinates system*.
|
<br>The constructor method follows a specific order of declaration: `(pitch, yaw, roll)`, which corresponds to `(Y-rotation,Z-rotation,X-rotation)`. <br> <br>![UE4_Rotation](/img/unreal_lhcs.png) *Unreal Engine's coordinates system*.
|
||||||
|
|
||||||
### Instance Variables
|
### Instance Variables
|
||||||
- <a name="carla.Rotation.pitch"></a>**<font color="#f8805a">pitch</font>** (_float<small> - degrees</small>_)
|
- <a name="carla.Rotation.pitch"></a>**<font color="#f8805a">pitch</font>** (_float<small> - degrees</small>_)
|
||||||
|
|
|
@ -940,21 +940,19 @@ While the visibility is simulated within CARLA, the scenario can be configured b
|
||||||
* __Output:__ [carla.CAMData](python_api.md#carla.CAMData), triggered according to the ETSI CAM standard, unless configured otherwise
|
* __Output:__ [carla.CAMData](python_api.md#carla.CAMData), triggered according to the ETSI CAM standard, unless configured otherwise
|
||||||
|
|
||||||
Triggering conditions according to ETSI standard:
|
Triggering conditions according to ETSI standard:
|
||||||
- Heading angle change > $4$°
|
- Heading angle change > 4°
|
||||||
- Position difference > $4$ m
|
- Position difference > 4 m
|
||||||
- Speed change > $5$ m/s
|
- Speed change > 5 m/s
|
||||||
- Time elapsed > CAM Generation time (configurable)
|
- Time elapsed > CAM Generation time (configurable)
|
||||||
- Low Frequency Container Time Elapsed $> 500$ ms
|
- Low Frequency Container Time Elapsed > 500 ms
|
||||||
|
|
||||||
For the CAM V2X sensor, additional blueprint attributes apply:
|
For the CAM V2X sensor, additional blueprint attributes apply:
|
||||||
|
|
||||||
| Blueprint attribute | Type | Default | Description |
|
| Blueprint attribute | Type | Default | Description |
|
||||||
|-------------------------|--------|-------------------------|------------------------------------|
|
|-------------------------|--------|-------------------------|------------------------------------|
|
||||||
| <td colspan=4> Message generation |
|
| gen\_cam\_min | float | 0.1 | Minimum elapsed time between two successive CAMs in seconds (s) |
|
||||||
| gen\_cam\_min | float | $0.1$ | Minimum elapsed time between two successive CAMs in seconds (s) |
|
| gen\_cam\_max | float | 1.0 | Maximum elapsed time between two successive CAMs in seconds (s) |
|
||||||
| gen\_cam\_max | float | $1.0$ | Maximum elapsed time between two successive CAMs in seconds (s) |
|
|
||||||
| fixed\_rate | bool | false [true] | Generate a CAM in every CARLA tick (only for debug purposes, will result in slowdown) |
|
| fixed\_rate | bool | false [true] | Generate a CAM in every CARLA tick (only for debug purposes, will result in slowdown) |
|
||||||
| <td colspan=4> Data generation |
|
|
||||||
| `noise_vel_stddev_x` | float | 0\.0 | Standard deviation parameter in the noise model for velocity (X axis). |
|
| `noise_vel_stddev_x` | float | 0\.0 | Standard deviation parameter in the noise model for velocity (X axis). |
|
||||||
| `noise_accel_stddev_x` | float | 0\.0 | Standard deviation parameter in the noise model for acceleration (X axis). |
|
| `noise_accel_stddev_x` | float | 0\.0 | Standard deviation parameter in the noise model for acceleration (X axis). |
|
||||||
| `noise_accel_stddev_y` | float | 0\.0 | Standard deviation parameter in the noise model for acceleration (Y axis). |
|
| `noise_accel_stddev_y` | float | 0\.0 | Standard deviation parameter in the noise model for acceleration (Y axis). |
|
||||||
|
@ -993,14 +991,14 @@ Example:
|
||||||
|
|
||||||
| Blueprint attribute | Type | Default | Description |
|
| Blueprint attribute | Type | Default | Description |
|
||||||
|-------------------------|--------|-------------------------|------------------------------------|
|
|-------------------------|--------|-------------------------|------------------------------------|
|
||||||
| transmit\_power | float | $21.5$ | Sender transmission power in dBm |
|
| transmit\_power | float | 21.5 | Sender transmission power in dBm |
|
||||||
| receiver\_sensitivity | float | $-99$ | Receiver sensitivity in dBm |
|
| receiver\_sensitivity | float | -99 | Receiver sensitivity in dBm |
|
||||||
| frequency\_ghz | float | $5.9$ | Transmission frequency in GHz. 5.9 GHz is standard for several physical channels. |
|
| frequency\_ghz | float | 5.9 | Transmission frequency in GHz. 5.9 GHz is standard for several physical channels. |
|
||||||
| noise\_seed | int | $0$ | Random parameter for initialization of noise |
|
| noise\_seed | int | 0 | Random parameter for initialization of noise |
|
||||||
| filter\_distance | float | $500$ | Maximum transmission distance in meter, path loss calculations above are skipped for simulation speed |
|
| filter\_distance | float | 500 | Maximum transmission distance in meter, path loss calculations above are skipped for simulation speed |
|
||||||
| <td colspan=4> __Path loss model parameters__ |
|
| __Path loss model parameters__ | | | |
|
||||||
| combined\_antenna\_gain | float | $10.0$ | Combined gain of sender and receiver antennas in dBi, parameter for radiation efficiency and directivity |
|
| combined\_antenna\_gain | float | 10.0 | Combined gain of sender and receiver antennas in dBi, parameter for radiation efficiency and directivity |
|
||||||
| d\_ref | float | $ 1.0 $ | reference distance for Log-distance path loss model in meter |
|
| d\_ref | float | 1.0 | reference distance for Log-distance path loss model in meter |
|
||||||
| path\_loss\_exponent | float | 2.7 | Loss parameter for non-line of sight due to building obstruction |
|
| path\_loss\_exponent | float | 2.7 | Loss parameter for non-line of sight due to building obstruction |
|
||||||
| scenario | string | urban | Options: [urban, rural, highway], defines the fading noise parameters |
|
| scenario | string | urban | Options: [urban, rural, highway], defines the fading noise parameters |
|
||||||
| path\_loss\_model | string | geometric | general path loss model to be used. Options: [geometric, winner] |
|
| path\_loss\_model | string | geometric | general path loss model to be used. Options: [geometric, winner] |
|
||||||
|
|
|
@ -328,7 +328,7 @@
|
||||||
Class that represents a 3D rotation and therefore, an orientation in space. CARLA uses the Unreal Engine coordinates system. This is a Z-up left-handed system. <br>
|
Class that represents a 3D rotation and therefore, an orientation in space. CARLA uses the Unreal Engine coordinates system. This is a Z-up left-handed system. <br>
|
||||||
|
|
||||||
<br>The constructor method follows a specific order of declaration: `(pitch, yaw, roll)`, which corresponds to `(Y-rotation,Z-rotation,X-rotation)`. <br>
|
<br>The constructor method follows a specific order of declaration: `(pitch, yaw, roll)`, which corresponds to `(Y-rotation,Z-rotation,X-rotation)`. <br>
|
||||||
<br>![UE4_Rotation](https://d26ilriwvtzlb.cloudfront.net/8/83/BRMC_9.jpg)
|
<br>![UE4_Rotation](/img/unreal_lhcs.png)
|
||||||
*Unreal Engine's coordinates system*
|
*Unreal Engine's coordinates system*
|
||||||
# - PROPERTIES -------------------------
|
# - PROPERTIES -------------------------
|
||||||
instance_variables:
|
instance_variables:
|
||||||
|
|
Loading…
Reference in New Issue