BooleanArrayLogEntry¶
- class wpiutil.log.BooleanArrayLogEntry(*args, **kwargs)¶
Bases:
DataLogEntry
Log array of boolean values.
Overloaded function.
__init__(self: wpiutil._wpiutil.log.BooleanArrayLogEntry, log: wpiutil._wpiutil.log.DataLog, name: str, timestamp: int = 0) -> None
__init__(self: wpiutil._wpiutil.log.BooleanArrayLogEntry, log: wpiutil._wpiutil.log.DataLog, name: str, metadata: str, timestamp: int = 0) -> None
- append(arr: List[bool], timestamp: int = 0) None ¶
Appends a record to the log. For find functions to work, timestamp must be monotonically increasing.
- Parameters:
arr – Values to record
timestamp – Time stamp (may be 0 to indicate now)
- kDataType = 'boolean[]'¶