ArmClient class Components

gRPC client for an Arm component.

Used to communicate with an existing Arm implementation over gRPC.

Inheritance
Implemented types
Mixed-in types

Constructors

ArmClient(String name, ClientChannelBase channel)

Properties

callOptions CallOptions
no setterinherited
channel ClientChannelBase
getter/setter pairoverride
client ArmServiceClient
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

disableDebugLogging() → void
Disable debug logging for gRPC calls by removing the trace key from the metadata.
inherited
doCommand(Map<String, dynamic> command) Future<Map<String, dynamic>>
Send/Receive arbitrary commands to the Resource
override
enableDebugLogging({String? traceKey}) → void
Enable debug logging for gRPC calls by setting a trace key in the metadata. If no trace key is provided, a random one will be generated.
inherited
endPosition({Map<String, dynamic>? extra}) Future<Pose>
Get the current Pose of the end of the arm.
override
isMoving() Future<bool>
Whether the arm is currently moving
override
jointPositions({Map<String, dynamic>? extra}) Future<List<double>>
Get the List of current joint angles of each arm joint
override
moveToJointPositions(List<double> positions, {Map<String, dynamic>? extra}) Future<void>
Move each joint on the arm to the corresponding position specified in positions.
override
moveToPosition(Pose pose, {Map<String, dynamic>? extra}) Future<void>
Move the end of the arm to the Pose specified.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stop({Map<String, dynamic>? extra}) Future<void>
Stop all motion of the arm. It is assumed that the arm stops immediately.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited