com.kuka.roboticsAPI.controllerModel.sunrise.conditions
Class ErrStateDrivesCondition
java.lang.Object
com.kuka.roboticsAPI.conditionModel.AbstractCondition
com.kuka.roboticsAPI.conditionModel.RobotCondition
com.kuka.roboticsAPI.controllerModel.sunrise.conditions.ErrStateDrivesCondition
- All Implemented Interfaces:
- ICondition
public class ErrStateDrivesCondition
- extends RobotCondition
ErrStateDrivesCondition is used to monitor the state of the drives.
Depending on the state, a corresponding reaction has already been performed
by the drives themselves or should be performed by the code, which evaluates
the condition. See the definition of the enum for further information.
- This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.
ErrStateDrivesCondition
public ErrStateDrivesCondition(Robot robot,
EnumSet<ErrStateDrivesCondition.ErrStateDrives> errStateDrives)
- Condition is fulfilled if at least one of the parameterized
stopDemands is requested.
- Parameters:
robot - The robot.errStateDrives - Defines for which stop-demands the condition should be
fulfilled
getStopRequestsFromDrives
public EnumSet<ErrStateDrivesCondition.ErrStateDrives> getStopRequestsFromDrives()
- Returns an EnumSet of the configured StopRequests from the drives for
this condition.
- Returns:
- The configured StopRequests from the drives
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2019. All rights reserved.