Skip to content

Add audio_in and audio_out to client map for DoCommand#46

Closed
gmulz wants to merge 1 commit intomainfrom
gmulz/audio-do-command
Closed

Add audio_in and audio_out to client map for DoCommand#46
gmulz wants to merge 1 commit intomainfrom
gmulz/audio-do-command

Conversation

@gmulz
Copy link
Copy Markdown
Member

@gmulz gmulz commented Apr 27, 2026

Summary

Adds AudioInClient and AudioOutClient entries to the clientMap in src/lib/client-map.ts so clientForBuiltinResource() resolves the correct gRPC client for rdk:component:audio_in and rdk:component:audio_out.

DoCommandWidget calls clientForBuiltinResource internally — without these entries the widget receives undefined and throws a TypeError when a user opens the audio DoCommand card on a live machine.

Companion PR (app-side resourceMap change that makes the card render): viamrobotics/app#11833. Fixes the bug tgritter flagged in review on that PR. Once this is released, the app-side version pin will be bumped.

@gmulz gmulz marked this pull request as draft April 27, 2026 19:08
@DTCurrie
Copy link
Copy Markdown
Member

This is also resolved in #48

@gmulz gmulz closed this Apr 28, 2026
@gmulz gmulz deleted the gmulz/audio-do-command branch April 28, 2026 01:26
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.

2 participants