Gantry class abstract Components

Gantry represents a physical Gantry and can be used for controlling gantries of N axes.

For more information, see Gantry component.

Inheritance
Implementers

Constructors

Gantry()

Properties

hashCode → int
The hash code for this object.
no setterinherited
name → String
finalinherited
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
inherited
getGeometries({Map<String, dynamic>? extra}) → Future<List<Geometry>>
Get all geometries associated with the Gantry
getKinematics({Map<String, dynamic>? extra}) → Future<Kinematics>
Get the kinematics data associated with the Gantry
getStatus() → Future<Map<String, dynamic>>
Get the status of the Resource
inherited
home({Map<String, dynamic>? extra}) → Future<bool>
Run the homing sequence and return true if completed successfully.
isMoving() → Future<bool>
Whether the Gantry is currently moving.
lengths({Map<String, dynamic>? extra}) → Future<List<double>>
Get the lengths of the axes of the gantry in millimeters.
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.
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.
stop({Map<String, dynamic>? extra}) → Future<void>
Stop all motion of the Gantry. It is assumed the Gantry stops immediately.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromRobot(RobotClient robot, String name) → Gantry
Get the Gantry named name from the provided robot.
getResourceName(String name) → ResourceName
Get the ResourceName for this Gantry with the given name

Constants

subtype → const Subtype