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