ArmClient class Components

gRPC client for an Arm component.

Used to communicate with an existing Arm implementation over gRPC.

Inheritance
Implemented types

Constructors

ArmClient(String name, ClientChannelBase channel)

Properties

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

doCommand(Map<String, dynamic> command) Future<Map<String, dynamic>>
Send/Receive arbitrary commands to the Resource
override
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