Package com.viam.sdk.core.robot
Class RobotRPCService
java.lang.Object
com.viam.robot.v1.RobotServiceGrpc.RobotServiceImplBase
com.viam.sdk.core.robot.RobotRPCService
- All Implemented Interfaces:
RobotServiceGrpc.AsyncService
,io.grpc.BindableService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getStatus
(Robot.GetStatusRequest request, io.grpc.stub.StreamObserver<Robot.GetStatusResponse> responseObserver) GetStatus returns the list of all statuses requested.void
resourceNames
(Robot.ResourceNamesRequest request, io.grpc.stub.StreamObserver<Robot.ResourceNamesResponse> responseObserver) ResourceNames returns the list of all resources.void
resourceRPCSubtypes
(Robot.ResourceRPCSubtypesRequest request, io.grpc.stub.StreamObserver<Robot.ResourceRPCSubtypesResponse> responseObserver) ResourceRPCSubtypes returns the list of all resource types.void
stopAll
(Robot.StopAllRequest request, io.grpc.stub.StreamObserver<Robot.StopAllResponse> responseObserver) StopAll will stop all current and outstanding operations for the robot and stops all actuators and movementvoid
streamStatus
(Robot.StreamStatusRequest request, io.grpc.stub.StreamObserver<Robot.StreamStatusResponse> responseObserver) StreamStatus periodically sends the status of all statuses requested.Methods inherited from class com.viam.robot.v1.RobotServiceGrpc.RobotServiceImplBase
bindService
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.viam.robot.v1.RobotServiceGrpc.AsyncService
blockForOperation, cancelOperation, discoverComponents, frameSystemConfig, getCloudMetadata, getMachineStatus, getOperations, getSessions, getVersion, log, restartModule, sendSessionHeartbeat, shutdown, startSession, transformPCD, transformPose
-
Constructor Details
-
RobotRPCService
-
-
Method Details
-
resourceNames
public void resourceNames(Robot.ResourceNamesRequest request, io.grpc.stub.StreamObserver<Robot.ResourceNamesResponse> responseObserver) Description copied from interface:RobotServiceGrpc.AsyncService
ResourceNames returns the list of all resources.
-
resourceRPCSubtypes
public void resourceRPCSubtypes(Robot.ResourceRPCSubtypesRequest request, io.grpc.stub.StreamObserver<Robot.ResourceRPCSubtypesResponse> responseObserver) Description copied from interface:RobotServiceGrpc.AsyncService
ResourceRPCSubtypes returns the list of all resource types.
-
getStatus
public void getStatus(Robot.GetStatusRequest request, io.grpc.stub.StreamObserver<Robot.GetStatusResponse> responseObserver) Description copied from interface:RobotServiceGrpc.AsyncService
GetStatus returns the list of all statuses requested. An empty request signifies all resources.
-
streamStatus
public void streamStatus(Robot.StreamStatusRequest request, io.grpc.stub.StreamObserver<Robot.StreamStatusResponse> responseObserver) Description copied from interface:RobotServiceGrpc.AsyncService
StreamStatus periodically sends the status of all statuses requested. An empty request signifies all resources.
-
stopAll
public void stopAll(Robot.StopAllRequest request, io.grpc.stub.StreamObserver<Robot.StopAllResponse> responseObserver) Description copied from interface:RobotServiceGrpc.AsyncService
StopAll will stop all current and outstanding operations for the robot and stops all actuators and movement
-