SpatialLocationCalculatorData
This message is an output from the SpatialLocationCalculator node.Examples of functionality
Reference
class
depthai.SpatialLocationCalculatorData(depthai.Buffer)
variable
method
method
getSequenceNum(self) -> int: int
Retrieves sequence number
method
getSpatialLocations(self) -> list[SpatialLocations]: list[SpatialLocations]
Retrieve configuration data for SpatialLocationCalculatorData. Returns: Vector of spatial location data, carrying spatial information (X,Y,Z)
method
getTimestamp(self) -> datetime.timedelta: datetime.timedelta
Retrieves timestamp related to dai::Clock::now()
method
getTimestampDevice(self) -> datetime.timedelta: datetime.timedelta
Retrieves timestamp directly captured from device's monotonic clock, not synchronized to host time. Used mostly for debugging
method
setSequenceNum(self, arg0: int) -> SpatialLocationCalculatorData: SpatialLocationCalculatorData
Retrieves image sequence number
method
setTimestamp(self, arg0: datetime.timedelta) -> SpatialLocationCalculatorData: SpatialLocationCalculatorData
Sets image timestamp related to dai::Clock::now()
method
setTimestampDevice(self, arg0: datetime.timedelta) -> SpatialLocationCalculatorData: SpatialLocationCalculatorData
Sets image timestamp related to dai::Clock::now()
Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.