GantryClient class Components

gRPC client for the Gantry component.

Inheritance
Implemented types

Constructors

GantryClient(String name, ClientChannelBase channel)

Properties

channel ClientChannelBase
getter/setter pairoverride
client GantryServiceClient
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
home({Map<String, dynamic>? extra}) Future<bool>
Run the homing sequence and return true if completed successfully.
override
isMoving() Future<bool>
Whether the Gantry is currently moving.
override
lengths({Map<String, dynamic>? extra}) Future<List<double>>
Get the lengths of the axes of the gantry in millimeters.
override
moveToPosition(List<double> positions, List<double> speeds, {Map<String, dynamic>? extra}) Future<void>
Move the gantry to a new position in millimeters at the requested speeds in millimeters/second.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
position({Map<String, dynamic>? extra}) Future<List<double>>
Get the position of the axes in millimeters.
override
stop({Map<String, dynamic>? extra}) Future<void>
Stop all motion of the Gantry. It is assumed the Gantry stops immediately.
override
toString() String
A string representation of this object.
inherited

Operators

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