GitHub
Preparing search index...
The search index is not available
Viam SDK
Viam SDK
SlamClient
Class SlamClient
A gRPC-web client for a SLAM service.
Implements
Slam
Index
Constructors
constructor
Properties
client
name
options
Accessors
service
Methods
do
Command
get
Internal
State
get
Point
Cloud
Map
get
Position
get
Properties
Constructors
constructor
new
Slam
Client
(
client
,
name
,
options
?
)
:
SlamClient
Parameters
client
:
RobotClient
name
:
string
options
:
Options
= {}
Returns
SlamClient
Properties
Private
client
client
:
SLAMServiceClient
Private
Readonly
name
name
:
string
Private
Readonly
options
options
:
Options
Accessors
Private
service
get
service
(
)
:
SLAMServiceClient
Returns
SLAMServiceClient
Methods
do
Command
do
Command
(
command
)
:
Promise
<
StructType
>
Parameters
command
:
StructType
Returns
Promise
<
StructType
>
get
Internal
State
get
Internal
State
(
)
:
Promise
<
Uint8Array
>
Returns
Promise
<
Uint8Array
>
get
Point
Cloud
Map
get
Point
Cloud
Map
(
returnEditedMap
?
)
:
Promise
<
Uint8Array
>
Parameters
Optional
returnEditedMap
:
boolean
Returns
Promise
<
Uint8Array
>
get
Position
get
Position
(
)
:
Promise
<
slamApi
.
GetPositionResponse
.
AsObject
>
Returns
Promise
<
slamApi
.
GetPositionResponse
.
AsObject
>
get
Properties
get
Properties
(
)
:
Promise
<
slamApi
.
GetPropertiesResponse
.
AsObject
>
Returns
Promise
<
slamApi
.
GetPropertiesResponse
.
AsObject
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
client
name
options
service
do
Command
get
Internal
State
get
Point
Cloud
Map
get
Position
get
Properties
Viam SDK
Loading...
Generated using
TypeDoc
A gRPC-web client for a SLAM service.