Package com.viam.robot.v1
Class RobotServiceGrpc.RobotServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<RobotServiceGrpc.RobotServiceBlockingStub>
com.viam.robot.v1.RobotServiceGrpc.RobotServiceBlockingStub
- Enclosing class:
- RobotServiceGrpc
public static final class RobotServiceGrpc.RobotServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<RobotServiceGrpc.RobotServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service RobotService.
A RobotService encompasses all functionality of some robot comprised of parts, local and remote.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) FrameSystemConfig returns the information relevant to building the robot's frame system.GetCloudMetadata returns app-related information about the robot.GetMachineStatus returns the current status of the robot.GetModelsFromModules returns the list of models supported in modules on the machine.getOperations
(Robot.GetOperationsRequest request) getPose
(Robot.GetPoseRequest request) GetPose returns the pose of a component in a desired referenceframe.getSessions
(Robot.GetSessionsRequest request) getStatus
(Robot.GetStatusRequest request) Deprecated.getVersion
(Robot.GetVersionRequest request) GetVersion returns version information about the robot.listTunnels
(Robot.ListTunnelsRequest request) ListTunnels lists all available tunnels configured on the robot.log
(Robot.LogRequest request) Log sends logs to be logged by this robot.resourceNames
(Robot.ResourceNamesRequest request) ResourceNames returns the list of all resources.ResourceRPCSubtypes returns the list of all resource types.restartModule
(Robot.RestartModuleRequest request) SendSessionHeartbeat sends a heartbeat to the given session.shutdown
(Robot.ShutdownRequest request) Shutdown shuts down the robot.startSession
(Robot.StartSessionRequest request) StartSession creates a new session that expects at least one heartbeat within the returned window.stopAll
(Robot.StopAllRequest request) StopAll will stop all current and outstanding operations for the robot and stops all actuators and movementstreamStatus
(Robot.StreamStatusRequest request) Deprecated.transformPCD
(Robot.TransformPCDRequest request) TransformPose returns a point cloud in one referenceframe in a desired referenceframe.transformPose
(Robot.TransformPoseRequest request) TransformPose returns a pose in one referenceframe in a desired referenceframe.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected RobotServiceGrpc.RobotServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<RobotServiceGrpc.RobotServiceBlockingStub>
-
getOperations
-
getSessions
-
resourceNames
ResourceNames returns the list of all resources.
-
resourceRPCSubtypes
public Robot.ResourceRPCSubtypesResponse resourceRPCSubtypes(Robot.ResourceRPCSubtypesRequest request) ResourceRPCSubtypes returns the list of all resource types.
-
cancelOperation
-
blockForOperation
-
getModelsFromModules
public Robot.GetModelsFromModulesResponse getModelsFromModules(Robot.GetModelsFromModulesRequest request) GetModelsFromModules returns the list of models supported in modules on the machine.
-
getStatus
Deprecated.GetStatus returns the list of all statuses requested. An empty request signifies all resources.
-
streamStatus
@Deprecated public Iterator<Robot.StreamStatusResponse> streamStatus(Robot.StreamStatusRequest request) Deprecated.StreamStatus periodically sends the status of all statuses requested. An empty request signifies all resources.
-
stopAll
StopAll will stop all current and outstanding operations for the robot and stops all actuators and movement
-
startSession
StartSession creates a new session that expects at least one heartbeat within the returned window. If the window lapses, any resources that have safety heart monitored methods, where this session was the last caller on the resource, will be stopped.
-
sendSessionHeartbeat
public Robot.SendSessionHeartbeatResponse sendSessionHeartbeat(Robot.SendSessionHeartbeatRequest request) SendSessionHeartbeat sends a heartbeat to the given session. If the session has expired, a SESSION_EXPIRED error will be returned.
-
log
Log sends logs to be logged by this robot. Currently used for module logging.
-
getCloudMetadata
GetCloudMetadata returns app-related information about the robot.
-
restartModule
-
shutdown
Shutdown shuts down the robot.
-
getMachineStatus
GetMachineStatus returns the current status of the robot.
-
getVersion
GetVersion returns version information about the robot.
-
listTunnels
ListTunnels lists all available tunnels configured on the robot.
-
frameSystemConfig
FrameSystemConfig returns the information relevant to building the robot's frame system.
-
getPose
GetPose returns the pose of a component in a desired referenceframe.
-
transformPose
TransformPose returns a pose in one referenceframe in a desired referenceframe.
-
transformPCD
TransformPose returns a point cloud in one referenceframe in a desired referenceframe.
-