Skip to content

Commit

Permalink
DOCS-1329: Add control test instructions for Generic component (#2128)
Browse files Browse the repository at this point in the history
  • Loading branch information
sguequierre authored Oct 31, 2023
1 parent e951146 commit c309b87
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Binary file added assets/components/generic/generic-control.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/components/generic/fake.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,5 @@ Enter a name for your generic component and click **Create**.

No attributes are available for fake generic components.
See [GitHub](https://github.com/viamrobotics/rdk/blob/main/components/generic/fake/generic.go) for API call return specifications.

{{< readfile "/static/include/components/test-control/generic-control.md" >}}
6 changes: 6 additions & 0 deletions static/include/components/test-control/generic-control.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Test the generic component

After you configure your generic component, navigate to the [Control tab](/manage/fleet/robots/#control) and select the dropdown panel dedicated to the generic component.
Use the card to send arbitrary commands to the resource with [`DoCommand()`](/components/generic/#docommand).

![The generic component in the control tab.](/components/generic/generic-control.png)

0 comments on commit c309b87

Please sign in to comment.