Gantry API | Component APIs

Gantry API

The gantry API allows you to give commands to your gantry components for coordinated control of one or more linear actuators.

The gantry component supports the following methods:

Method Name Description
GetPosition Get the current positions of the axis of the gantry (mm).
MoveToPosition Move the axes of the gantry to the desired positions (mm) at the requested speeds (mm/sec).
GetLengths Get the lengths of the axes of the gantry (mm).
Home Run the homing sequence of the gantry to re-calibrate the axes with respect to the limit switches.
GetGeometries Get all the geometries associated with the gantry in its current configuration, in the frame of the gantry.
IsMoving Get if the gantry is currently moving.
Stop Stop all motion of the gantry.
Reconfigure Reconfigure this resource.
DoCommand Execute model-specific commands that are not otherwise defined by the component API.
GetKinematics Get the kinematics information associated with the gantry.
GetResourceName Get the ResourceName for this gantry.
Close Safely shut down the resource and prevent further use.

API

GetPosition

Get the current positions of the axis of the gantry (mm).

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Go SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Flutter SDK Docs.

MoveToPosition

Move the axes of the gantry to the desired positions (mm) at the requested speeds (mm/sec).

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Go SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Flutter SDK Docs.

GetLengths

Get the lengths of the axes of the gantry (mm).

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Go SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Flutter SDK Docs.

Home

Run the homing sequence of the gantry to re-calibrate the axes with respect to the limit switches.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Go SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Flutter SDK Docs.

GetGeometries

Get all the geometries associated with the gantry in its current configuration, in the frame of the gantry. The motion and navigation services use the relative position of inherent geometries to configured geometries representing obstacles for collision detection and obstacle avoidance while motion planning.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

IsMoving

Get if the gantry is currently moving.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Go SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Flutter SDK Docs.

Stop

Stop all motion of the gantry.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Go SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Flutter SDK Docs.

Reconfigure

Reconfigure this resource. Reconfigure must reconfigure the resource atomically and in place.

Parameters:

Returns:

For more information, see the Go SDK Docs.

DoCommand

Execute model-specific commands that are not otherwise defined by the component API. Most models do not implement DoCommand. Any available model-specific commands should be covered in the model's documentation. If you are implementing your own gantry and want to add features that have no corresponding built-in API method, you can implement them with DoCommand.

Parameters:

Returns:

Raises:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Go SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Flutter SDK Docs.

GetKinematics

Get the kinematics information associated with the gantry.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

For more information, see the Go SDK Docs.

GetResourceName

Get the ResourceName for this gantry.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Go SDK Docs.

Parameters:

Returns:

Example:


For more information, see the TypeScript SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Flutter SDK Docs.

Close

Safely shut down the resource and prevent further use.

Parameters:

Returns:

Example:


For more information, see the Python SDK Docs.

Parameters:

Returns:

Example:


For more information, see the Go SDK Docs.