Package com.viam.sdk.core.robot
Class RobotClient
java.lang.Object
com.viam.sdk.core.robot.RobotClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionRobotClient
(Channel chan) RobotClient
(Channel chan, RobotClient.Options<MediaStreamT> options) RobotClient
(io.grpc.ManagedChannel chan) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
close()
discoverComponents
(List<Robot.DiscoveryQuery> queries) getFrameSystemConfig
(List<Common.Transform> additionalTransforms) <ResourceT>
ResourceTgetResource
(Class<ResourceT> resourceClass, Common.ResourceName name) getStatus
(List<Common.ResourceName> resourceNames) void
refresh()
void
removeStream
(String name) void
stopAll()
void
stopAll
(Map<Common.ResourceName, Map<String, com.google.protobuf.Value>> extra) void
transformPose
(Common.PoseInFrame query, String destination) transformPose
(Common.PoseInFrame query, String destination, List<Common.Transform> additionalTransforms)
-
Constructor Details
-
RobotClient
-
RobotClient
-
RobotClient
public RobotClient(io.grpc.ManagedChannel chan)
-
-
Method Details
-
refresh
public void refresh() -
getComponent
-
getService
-
getResource
-
getResourceNames
-
getStatus
-
getStatus
-
getOperations
-
cancelOperation
-
blockForOperation
-
getFrameSystemConfig
-
getFrameSystemConfig
public List<Robot.FrameSystemConfig> getFrameSystemConfig(List<Common.Transform> additionalTransforms) -
transformPose
-
transformPose
public Common.PoseInFrame transformPose(Common.PoseInFrame query, String destination, List<Common.Transform> additionalTransforms) -
transformPointCloud
public void transformPointCloud() -
discoverComponents
-
stopAll
public void stopAll() -
stopAll
-
addStream
-
removeStream
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-