Class GenericRPCClient
java.lang.Object
com.viam.sdk.core.resource.Resource
com.viam.sdk.core.component.Component
com.viam.sdk.core.component.generic.Generic
com.viam.sdk.core.component.generic.GenericRPCClient
gRPC client for the Generic component
-
Nested Class Summary
Nested classes/interfaces inherited from class com.viam.sdk.core.resource.Resource
Resource.Reconfigurable, Resource.Stoppable
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Struct
Send/Receive arbitrary commands to the ResourcegetGeometries
(Optional<com.google.protobuf.Struct> extra) Get all geometries associated with the Component, in their current configuration, in the frame of the Component.Methods inherited from class com.viam.sdk.core.resource.Resource
close, createStatus, getName, getSubtype, named
-
Constructor Details
-
GenericRPCClient
-
-
Method Details
-
doCommand
Description copied from class:Resource
Send/Receive arbitrary commands to the Resource -
getGeometries
Description copied from class:Component
Get all geometries associated with the Component, in their current configuration, in the frame of the Component.- Overrides:
getGeometries
in classComponent
- Returns:
- the geometries associated with the Component
-