|
CARLA
|
Distance pixel format: a single float channel holding a metric distance in METRES. More...
#include <Color.h>
Public Member Functions | |
| DistancePixel ()=default | |
| DistancePixel (const DistancePixel &)=default | |
| DistancePixel (float distance) | |
| MSGPACK_DEFINE_ARRAY (distance) | |
| bool | operator!= (const DistancePixel &rhs) const |
| DistancePixel & | operator= (const DistancePixel &)=default |
| bool | operator== (const DistancePixel &rhs) const |
Public Attributes | |
| float | distance = 0.0f |
Distance pixel format: a single float channel holding a metric distance in METRES.
Produced by the path-traced distance sensor (sensor.camera.rt_lens_distance) as the Euclidean distance from the camera origin to the primary hit along that pixel's lens ray. Rays that hit nothing report a very large value rather than 0.
Definition at line 85 of file sensor/data/Color.h.
|
default |
|
default |
|
inlineexplicit |
Definition at line 89 of file sensor/data/Color.h.
| carla::sensor::data::DistancePixel::MSGPACK_DEFINE_ARRAY | ( | distance | ) |
|
inline |
Definition at line 98 of file sensor/data/Color.h.
|
default |
|
inline |
Definition at line 94 of file sensor/data/Color.h.
References distance.
| float carla::sensor::data::DistancePixel::distance = 0.0f |
Definition at line 102 of file sensor/data/Color.h.
Referenced by operator==().