-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a5f12fc
commit 18dbdef
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -447,7 +447,7 @@ Get information regarding the current navigation service. | |
|
||
**Returns:** | ||
|
||
- [`MapType.ValueType`](https://python.viam.dev/autoapi/viam/proto/service/navigation/index.html#viam.proto.service.navigation.GetPropertiesResponse): Property information for the named navigation service. | ||
- [`MapType.ValueType`](https://python.viam.dev/autoapi/viam/proto/service/navigation/index.html#viam.proto.service.navigation.GetPropertiesResponse): Information regarding the current navigation service. | ||
|
||
```python {class="line-numbers linkable-line-numbers"} | ||
my_nav = NavigationClient.from_robot(robot=robot, name="my_nav_service") | ||
|
@@ -466,18 +466,17 @@ For more information, see the [Python SDK Docs](https://python.viam.dev/autoapi/ | |
|
||
**Returns:** | ||
|
||
- [Properties](https://pkg.go.dev/go.viam.com/[email protected]/services/navigation#Properties): Information regarding the current navigation service. | ||
- [Properties](https://pkg.go.dev/go.viam.com/services/navigation#Properties): Information regarding the current navigation service. | ||
This includes the map type being ingested and used by the navigation service. | ||
- [(error)](https://pkg.go.dev/builtin#error): An error, if one occurred. | ||
|
||
For more information, see the [Go SDK Docs](https://pkg.go.dev/go.viam.com/rdk/services/navigation#Service). | ||
|
||
```go {class="line-numbers linkable-line-numbers"} | ||
ctx := context.Background() | ||
myNav, err := navigation.FromRobot(robot, "my_nav_service") | ||
|
||
// Get the properties of your current service | ||
navProperties, err := myNav.Properties(ctx) | ||
navProperties, err := myNav.Properties(context.Background()) | ||
``` | ||
|
||
{{% /tab %}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters