GitHub
Preparing search index...
The search index is not available
Viam SDK
Viam SDK
GripperClient
Class GripperClient
A gRPC-web client for the Gripper component.
Implements
Gripper
Index
Constructors
constructor
Properties
client
name
options
Accessors
gripper
Service
Methods
do
Command
grab
is
Moving
open
stop
Constructors
constructor
new
Gripper
Client
(
client
,
name
,
options
?
)
:
GripperClient
Parameters
client
:
RobotClient
name
:
string
options
:
Options
= {}
Returns
GripperClient
Properties
Private
client
client
:
GripperServiceClient
Private
Readonly
name
name
:
string
Private
Readonly
options
options
:
Options
Accessors
Private
gripper
Service
get
gripperService
(
)
:
GripperServiceClient
Returns
GripperServiceClient
Methods
do
Command
do
Command
(
command
)
:
Promise
<
StructType
>
Parameters
command
:
StructType
Returns
Promise
<
StructType
>
grab
grab
(
extra
?
)
:
Promise
<
void
>
Parameters
extra
:
{}
= {}
Returns
Promise
<
void
>
is
Moving
is
Moving
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
open
open
(
extra
?
)
:
Promise
<
void
>
Parameters
extra
:
{}
= {}
Returns
Promise
<
void
>
stop
stop
(
extra
?
)
:
Promise
<
void
>
Parameters
extra
:
{}
= {}
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
client
name
options
gripper
Service
do
Command
grab
is
Moving
open
stop
Viam SDK
Loading...
Generated using
TypeDoc
A gRPC-web client for the Gripper component.