Package com.viam.component.arm.v1
Class ArmServiceGrpc.ArmServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<ArmServiceGrpc.ArmServiceBlockingStub>
com.viam.component.arm.v1.ArmServiceGrpc.ArmServiceBlockingStub
- Enclosing class:
- ArmServiceGrpc
public static final class ArmServiceGrpc.ArmServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<ArmServiceGrpc.ArmServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service ArmService.
An ArmService services all arms associated with a robot
-
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 TypeMethodDescriptionprotected ArmServiceGrpc.ArmServiceBlockingStub
build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) doCommand
(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandsgetEndPosition
(Arm.GetEndPositionRequest request) GetEndPosition gets the current position the end of the robot's arm expressed as X,Y,Z,ox,oy,oz,thetagetGeometries
(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationGetJointPositions lists the joint positions (in degrees) of every joint on a robotgetKinematics
(Common.GetKinematicsRequest request) GetKinematics returns the kinematics file for the componentisMoving
(Arm.IsMovingRequest request) IsMoving reports if a component is in motionMoveThroughJointPositions moves every joint on a robot's arm to the specified JointPositions in the order they are specified, obeying the specified velocity and acceleration limits.MoveToJointPositions moves every joint on a robot's arm to specified angles which are expressed in degrees This will block until done or a new operation cancels this onemoveToPosition
(Arm.MoveToPositionRequest request) MoveToPosition moves the mount point of the robot's end effector to the requested position.stop
(Arm.StopRequest request) Stop stops a robot's armMethods 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 ArmServiceGrpc.ArmServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<ArmServiceGrpc.ArmServiceBlockingStub>
-
getEndPosition
GetEndPosition gets the current position the end of the robot's arm expressed as X,Y,Z,ox,oy,oz,theta
-
moveToPosition
MoveToPosition moves the mount point of the robot's end effector to the requested position. This will block until done or a new operation cancels this one
-
getJointPositions
GetJointPositions lists the joint positions (in degrees) of every joint on a robot
-
moveToJointPositions
public Arm.MoveToJointPositionsResponse moveToJointPositions(Arm.MoveToJointPositionsRequest request) MoveToJointPositions moves every joint on a robot's arm to specified angles which are expressed in degrees This will block until done or a new operation cancels this one
-
moveThroughJointPositions
public Arm.MoveThroughJointPositionsResponse moveThroughJointPositions(Arm.MoveThroughJointPositionsRequest request) MoveThroughJointPositions moves every joint on a robot's arm to the specified JointPositions in the order they are specified, obeying the specified velocity and acceleration limits. This will block until done or a new operation cancels this one
-
stop
Stop stops a robot's arm
-
isMoving
IsMoving reports if a component is in motion
-
doCommand
DoCommand sends/receives arbitrary commands
-
getKinematics
GetKinematics returns the kinematics file for the component
-
getGeometries
GetGeometries returns the geometries of the component in their current configuration
-