@type attribute
![:electric_plug: :electric_plug:](https://github.githubassets.com/images/icons/emoji/unicode/1f50c.png)
dp.kinect
dp.kinect2
dp.kinect3
dp.oak
-
signature
type TYPE_STRING
-
values
long
- signed integer default
float32
- 32-bit floating point
float64
- 64-bit floating point
-
examples
@type float32
Depthmap value in signed integer, 32-bit float, or 64-bit float.
This type combined with @depthmap
together define the exact memory
layout of depth data. The values for depth are affected by @distmeter
and some combinations may not be useful.
-
long
values are signed integers; 32-bit with Max 32-bit, 64-bit with Max 64-bit -
float32
andfloat64
values [0.0…1.0] are for computation efficiency; not increased accuracy
The plugin can convert sensor data to supported types efficiently. Consider how the data is later consumed to choose the best data type.