GitHub
Preparing search index...
The search index is not available
Viam SDK
Viam SDK
NavigationClient
Class NavigationClient
A gRPC-web client for a Navigation service.
Implements
Navigation
Index
Constructors
constructor
Properties
client
name
options
Accessors
service
Methods
add
Way
Point
do
Command
get
Location
get
Mode
get
Obstacles
get
Paths
get
Properties
get
Way
Points
remove
Way
Point
set
Mode
Constructors
constructor
new
Navigation
Client
(
client
,
name
,
options
?
)
:
NavigationClient
Parameters
client
:
RobotClient
name
:
string
options
:
Options
= {}
Returns
NavigationClient
Properties
Private
client
client
:
NavigationServiceClient
Private
Readonly
name
name
:
string
Private
Readonly
options
options
:
Options
Accessors
Private
service
get
service
(
)
:
NavigationServiceClient
Returns
NavigationServiceClient
Methods
add
Way
Point
add
Way
Point
(
location
,
extra
?
)
:
Promise
<
void
>
Parameters
location
:
commonApi
.
GeoPoint
.
AsObject
extra
:
{}
= {}
Returns
Promise
<
void
>
do
Command
do
Command
(
command
)
:
Promise
<
StructType
>
Parameters
command
:
StructType
Returns
Promise
<
StructType
>
get
Location
get
Location
(
extra
?
)
:
Promise
<
navigationApi
.
GetLocationResponse
.
AsObject
>
Parameters
extra
:
{}
= {}
Returns
Promise
<
navigationApi
.
GetLocationResponse
.
AsObject
>
get
Mode
get
Mode
(
extra
?
)
:
Promise
<
0
|
1
|
2
|
3
>
Parameters
extra
:
{}
= {}
Returns
Promise
<
0
|
1
|
2
|
3
>
get
Obstacles
get
Obstacles
(
extra
?
)
:
Promise
<
commonApi
.
GeoObstacle
.
AsObject
[]
>
Parameters
extra
:
{}
= {}
Returns
Promise
<
commonApi
.
GeoObstacle
.
AsObject
[]
>
get
Paths
get
Paths
(
extra
?
)
:
Promise
<
navigationApi
.
Path
.
AsObject
[]
>
Parameters
extra
:
{}
= {}
Returns
Promise
<
navigationApi
.
Path
.
AsObject
[]
>
get
Properties
get
Properties
(
)
:
Promise
<
navigationApi
.
GetPropertiesResponse
.
AsObject
>
Returns
Promise
<
navigationApi
.
GetPropertiesResponse
.
AsObject
>
get
Way
Points
get
Way
Points
(
extra
?
)
:
Promise
<
navigationApi
.
Waypoint
.
AsObject
[]
>
Parameters
extra
:
{}
= {}
Returns
Promise
<
navigationApi
.
Waypoint
.
AsObject
[]
>
remove
Way
Point
remove
Way
Point
(
id
,
extra
?
)
:
Promise
<
void
>
Parameters
id
:
string
extra
:
{}
= {}
Returns
Promise
<
void
>
set
Mode
set
Mode
(
mode
,
extra
?
)
:
Promise
<
void
>
Parameters
mode
:
0
|
1
|
2
|
3
extra
:
{}
= {}
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
client
name
options
service
add
Way
Point
do
Command
get
Location
get
Mode
get
Obstacles
get
Paths
get
Properties
get
Way
Points
remove
Way
Point
set
Mode
Viam SDK
Loading...
Generated using
TypeDoc
A gRPC-web client for a Navigation service.