Method ReadTimestampedOpticalFlowAsync
- Namespace
- Harp.OutputExpander
- Assembly
- Harp.OutputExpander.dll
ReadTimestampedOpticalFlowAsync(CancellationToken)
Asynchronously reads the timestamped contents of the OpticalFlow register.
public Task<Timestamped<OpticalFlowPayload>> ReadTimestampedOpticalFlowAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task<Timestamped<OpticalFlowPayload>>
A task that represents the asynchronous read operation. The Result property contains the timestamped register payload.