-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSDK-6907 StreamTicks API #590
Conversation
Warning your change may break code samples. If your change modifies any of the following functions please contact @viamrobotics/fleet-management. Thanks!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple small things that shouldn't necessitate an extra round of review, otherwise LGTM!
src/viam/components/board/board.py
Outdated
@abc.abstractmethod | ||
async def stream_ticks( | ||
self, interrupts: List[DigitalInterrupt], *, timeout: Optional[float] = None, **kwargs | ||
) -> Stream[Tick]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(minor) since we defined TickStream
above, should we not use it here in the return?
Generalizes the
MediaStream
and moved tostreams.py
to use for digital interrupt streaming.