public interface PayloadNodeConfigFactory
This interface can be used to create configurations that can be applied to a Set Payload program node.
Modifier and Type | Method and Description |
---|---|
CustomParametersPayloadNodeConfig |
createCustomParametersConfig(Mass mass,
Position centerOfGravity)
This method creates a configuration for a Set Payload node with custom payload parameters.
|
SelectionPayloadNodeConfig |
createSelectionConfig(Payload payload)
This method creates a configuration for a Set Payload node with a pre-selected payload (from the installation).
|
SelectionPayloadNodeConfig createSelectionConfig(Payload payload)
This method creates a configuration for a Set Payload node with a pre-selected payload (from the installation).
Use thePayloadModel
interface to get a list of available payloads from the installation to choose from.payload
- The payload (from the installation) to be selected in the Set Payload node, not null
.CustomParametersPayloadNodeConfig createCustomParametersConfig(Mass mass, Position centerOfGravity)
This method creates a configuration for a Set Payload node with custom payload parameters.
Use theSimpleValueFactory.createMass(double, Mass.Unit)
method and the PositionFactory
interface
to create the required custom parameters.mass
- The total mass of the payload attached to the tool flange of the robot, not null
. Create it
using SimpleValueFactory.createMass(double, Mass.Unit)
.centerOfGravity
- The center of gravity (CoG), also referred to as center of mass, for the payload. It is
defined as the offset between the center of the tool output flange and the center of gravity
of the attached payload. Cannot be null
. Create it using the PositionFactory
interface.IllegalMassException
- If the specified mass is not inside the valid range as defined by PolyScope.IllegalCenterOfGravityException
- If any of the values of the specified center of gravity are not inside
the valid range as defined by PolyScope.Copyright © 2021. All rights reserved.