|
9 | 9 | - [__Obstacle detector__](#obstacle-detector) |
10 | 10 | - [__Radar sensor__](#radar-sensor) |
11 | 11 | - [__RGB camera__](#rgb-camera) |
| 12 | +- [__Wide-angle camera__](#wide-angle-cameras) |
12 | 13 | - [__RSS sensor__](#rss-sensor) |
13 | 14 | - [__Semantic LIDAR sensor__](#semantic-lidar-sensor) |
14 | 15 | - [__Semantic segmentation camera__](#semantic-segmentation-camera) |
@@ -559,9 +560,51 @@ Since these effects are provided by UE, please make sure to check their document |
559 | 560 | | `fov` | float | Horizontal field of view in degrees. | |
560 | 561 | | `raw_data` | bytes | Array of BGRA 32-bit pixels. | |
561 | 562 |
|
| 563 | +--- |
| 564 | + |
| 565 | +## Wide-angle cameras |
| 566 | + |
| 567 | +* __Blueprint RGB:__ sensor.camera.rgb.wide_angle_lens |
| 568 | +* __Blueprint depth:__ sensor.camera.depth.wide_angle_lens |
| 569 | +* __Blueprint semantic segmentation:__ sensor.camera.semantic_segmentation.wide_angle_lens |
| 570 | +* __Blueprint instance segmentation:__ sensor.camera.instance_segmentation.wide_angle_lens |
| 571 | +* __Output:__ [carla.Image](python_api.md#carla.Image) per step (unless `sensor_tick` says otherwise).. |
562 | 572 |
|
| 573 | +The wide-angle camera models multiple types of specialized cameras such as standard wide-angle, 360 degree cameras and fisheye lenses. The wide-angle camera model offers standard RGB output along with depth, semantic segmentation and instance segmentation. There are numerous projection models available, including perspective, stereographic, equidistant, equisolid, orthographic and Kannala-Brandt. |
| 574 | + |
| 575 | +The [Kannala-Brandt](https://www.researchgate.net/publication/6899685_A_Generic_Camera_Model_and_Calibration_Method_for_Conventional_Wide-Angle_and_Fish-Eye_Lenses) model used matches the [implementation used in OpenCV](https://docs.opencv.org/3.4/db/d58/group__calib3d__fisheye.html). |
| 576 | + |
| 577 | +| Blueprint attribute | Type | Default | Description | |
| 578 | +| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | |
| 579 | +| `camera_model` | str | `perspective` | Options: <br>`perspective`,<br>`stereographic`,<br>`equidistant`,<br>`equisolid`,<br>`orthographic`,<br>`kannala-brandt`| |
| 580 | +| `fov` | float | 90\.0 | Horizontal field of view in degrees. | |
| 581 | +| `image_size_x` | int | 800 | Image width in pixels. | |
| 582 | +| `image_size_y` | int | 600 | Image height in pixels. | |
| 583 | +| `k0` | float | 0.0831 | Kannala-Brandt K0 parameter. | |
| 584 | +| `k1` | float | 0.0111 | Kannala-Brandt K1 parameter. | |
| 585 | +| `k2` | float | 0.00858 | Kannala-Brandt K2 parameter. | |
| 586 | +| `k3` | float | 0.000854 | Kannala-Brandt K3 parameter. | |
| 587 | +| `sensor_tick` | float | 0\.0 | Simulation seconds between sensor captures (ticks). | |
| 588 | +| `fov_mask` | bool | false | Masks out pixels outside of the FOV. | |
| 589 | +| `fov_fade_size` | float | 0.0 | Amount of blur of the edge of the `fov_mask`. | |
| 590 | +| `perspective` | bool | false | Turns on perspective mode. | |
| 591 | +| `equirectangular` | bool | false | Turns on equirectangular projection. | |
| 592 | +| `longitude_offset` | float | 0.0 | Shifts view center by degrees for equirectangular model | |
| 593 | + |
| 594 | +#### Output attributes |
| 595 | + |
| 596 | +| Sensor data attribute | Type | Description | |
| 597 | +| ----------------------- | ----------------------- | ----------------------- | |
| 598 | +| `frame` | int | Frame number when the measurement took place. | |
| 599 | +| `timestamp` | double | Simulation time of the measurement in seconds since the beginning of the episode. | |
| 600 | +| `transform` | [carla.Transform](<../python_api#carlatransform>) | Location and rotation in world coordinates of the sensor at the time of the measurement. | |
| 601 | +| `width` | int | Image width in pixels. | |
| 602 | +| `height` | int | Image height in pixels. | |
| 603 | +| `fov` | float | Horizontal field of view in degrees. | |
| 604 | +| `raw_data` | bytes | Array of BGRA 32-bit pixels. | |
563 | 605 |
|
564 | 606 | --- |
| 607 | + |
565 | 608 | ## RSS sensor |
566 | 609 |
|
567 | 610 | * __Blueprint:__ sensor.other.rss |
|
0 commit comments