GitHub
Preparing search index...
The search index is not available
Viam SDK
Viam SDK
Resource
Interface Resource
interface
Resource
{
doCommand
:
(
(
command
)
=>
Promise
<
StructType
>
)
;
}
Hierarchy (
view full
)
Resource
Arm
Base
Board
Camera
Encoder
Gantry
Motor
MovementSensor
Sensor
GenericComponent
Gripper
Motion
DataManager
Servo
GenericService
Index
Properties
do
Command
Properties
do
Command
do
Command
:
(
(
command
)
=>
Promise
<
StructType
>
)
Send/Receive arbitrary commands to the resource.
Type declaration
(
command
)
:
Promise
<
StructType
>
Parameters
command
:
StructType
The command to execute.
Returns
Promise
<
StructType
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
do
Command
Viam SDK
Loading...
Generated using
TypeDoc
Send/Receive arbitrary commands to the resource.