Skip to content
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-7045 Implement StreamTicks #189

Merged
merged 6 commits into from
Apr 10, 2024

Conversation

oliviamiller
Copy link
Member

@oliviamiller oliviamiller commented Apr 3, 2024

Implements the StreamTicks board API. also tested with code samples client script.

@oliviamiller oliviamiller requested a review from a team as a code owner April 3, 2024 18:10
lib/src/components/board/board.dart Outdated Show resolved Hide resolved
await board.addCallbacks(request.pinNames, ticks);

try {
while (true) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this ever end? I don't see a break ever... Not sure if it's supposed to end ever but just wondering

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No its supposed to continue forever until the client cancels it.

@oliviamiller oliviamiller requested a review from njooma April 4, 2024 16:15
Copy link
Member

@stuqdog stuqdog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good to me! modulo question about extra

lib/src/components/board/client.dart Outdated Show resolved Hide resolved
@oliviamiller oliviamiller merged commit 8037f7b into viamrobotics:main Apr 10, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants