ToFConfig¶
This message is used to configure the ToF node.
Reference¶
-
class
depthai.
ToFConfig
-
get
(self: depthai.ToFConfig) → depthai.RawToFConfig
-
getData
(self: object) → numpy.ndarray[numpy.uint8]
-
getRaw
(self: depthai.ADatatype) → depthai.RawBuffer
-
getSequenceNum
(self: depthai.Buffer) → int
-
getTimestamp
(self: depthai.Buffer) → datetime.timedelta
-
getTimestampDevice
(self: depthai.Buffer) → datetime.timedelta
-
set
(self: depthai.ToFConfig, config: depthai.RawToFConfig) → depthai.ToFConfig
-
setData
(*args, **kwargs) Overloaded function.
setData(self: depthai.Buffer, arg0: list[int]) -> None
setData(self: depthai.Buffer, arg0: numpy.ndarray[numpy.uint8]) -> None
-
setMedianFilter
(self: depthai.ToFConfig, arg0: depthai.MedianFilter) → depthai.ToFConfig
-
setSequenceNum
(self: depthai.Buffer, arg0: int) → depthai.Buffer
-
setTimestamp
(self: depthai.Buffer, arg0: datetime.timedelta) → depthai.Buffer
-
setTimestampDevice
(self: depthai.Buffer, arg0: datetime.timedelta) → depthai.Buffer
-
-
class
dai
::
ToFConfig
: public dai::Buffer¶ ToFConfig message. Carries config for feature tracking algorithm
Public Functions
-
~ToFConfig
() = default¶
-
ToFConfig &
setMedianFilter
(MedianFilter median)¶ - Parameters
median
: Set kernel size for median filtering, or disable
-
ToFConfig &
set
(dai::RawToFConfig config)¶ Set explicit configuration.
- Parameters
config
: Explicit configuration
-
dai::RawToFConfig
get
() const¶ Retrieve configuration data for ToF.
- Return
config for feature tracking algorithm
Private Members
-
RawToFConfig &
cfg
¶
-