MessageGroup
Creating MessageGroup
Reference
class
depthai.MessageGroup(depthai.Buffer)
method
method
method
method
method
getIntervalNs(self) -> int: intRetrieves interval between the first and the last message in the group.
method
getMessageNames(self) -> list[str]: list[str]Gets the names of messages in the group
method
method
getSequenceNum(self) -> int: intRetrieves sequence number
method
getTimestamp(self) -> datetime.timedelta: datetime.timedeltaRetrieves timestamp related to dai::Clock::now()
method
getTimestampDevice(self) -> datetime.timedelta: datetime.timedeltaRetrieves timestamp directly captured from device's monotonic clock, not synchronized to host time. Used mostly for debugging
method
isSynced(self, arg0: int) -> bool: boolTrue if all messages in the group are in the interval Parameter ``thresholdNs``: Maximal interval between messages
method
setSequenceNum(self, arg0: int) -> MessageGroup: MessageGroupRetrieves image sequence number
method
setTimestamp(self, arg0: datetime.timedelta) -> MessageGroup: MessageGroupSets image timestamp related to dai::Clock::now()
method
setTimestampDevice(self, arg0: datetime.timedelta) -> MessageGroup: MessageGroupSets image timestamp related to dai::Clock::now()
Need assistance?
Head over to Discussion Forum for technical support or any other questions you might have.