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
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRobotClient(Channel chan) RobotClient(Channel chan, RobotClient.Options<MediaStreamT> options) RobotClient(io.grpc.ManagedChannel chan) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidclose()getFrameSystemConfig(List<Common.Transform> additionalTransforms) <ResourceT>
ResourceTgetResource(Class<ResourceT> resourceClass, Common.ResourceName name) getStatus(List<Common.ResourceName> resourceNames) voidrefresh()voidremoveStream(String name) voidstopAll()voidstopAll(Map<Common.ResourceName, Map<String, com.google.protobuf.Value>> extra) voidtransformPose(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() -
stopAll
public void stopAll() -
stopAll
-
addStream
-
removeStream
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-