com.kuka.roboticsAPI.controllerModel.sunrise.state.kmp
Class MobilePlatformSafetyState

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.sunrise.state.kmp.MobilePlatformSafetyState
All Implemented Interfaces:
IMobilePlatformSafetyState

public class MobilePlatformSafetyState
extends Object
implements IMobilePlatformSafetyState

Implementation of the Mobile Platform specific Safety and warning field states.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.kuka.roboticsAPI.controllerModel.sunrise.state.kmp.IMobilePlatformSafetyState
IMobilePlatformSafetyState.SafetyState
 
Constructor Summary
MobilePlatformSafetyState(List<Boolean> warnSignals, List<Boolean> secSignals)
          Creates a new instance of MobilePlatformSafetyState.
 
Method Summary
 boolean equals(Object obj)
           
 List<Boolean> getSafetySignalList()
          Gets the list of the available safety field laser signal values.
 IMobilePlatformSafetyState.SafetyState getSafetyState()
          Gets the safety state of the safety and warning fields.
 List<Boolean> getWarningSignalList()
          Gets the list of the available warning field laser signal values.
 int hashCode()
           
 boolean isSafetyFieldBreached()
          Gets the overall safety state of the safety field.
 boolean isSafetyFieldBreached(int index)
          Gets the safety state of a specific sensor.
 boolean isWarningFieldBreached()
          Gets the safety overall state of the warning field.
 boolean isWarningFieldBreached(int index)
          Gets the safety state of a specific sensor.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobilePlatformSafetyState

public MobilePlatformSafetyState(List<Boolean> warnSignals,
                                 List<Boolean> secSignals)
Creates a new instance of MobilePlatformSafetyState.

Parameters:
warnSignals - Warning field sensor signals.
secSignals - Security field sensor signals.
Method Detail

getSafetySignalList

public List<Boolean> getSafetySignalList()
Description copied from interface: IMobilePlatformSafetyState
Gets the list of the available safety field laser signal values.

Specified by:
getSafetySignalList in interface IMobilePlatformSafetyState
Returns:
List of safety field laser signal values.

getWarningSignalList

public List<Boolean> getWarningSignalList()
Description copied from interface: IMobilePlatformSafetyState
Gets the list of the available warning field laser signal values.

Specified by:
getWarningSignalList in interface IMobilePlatformSafetyState
Returns:
List of warning field laser signal values.

isSafetyFieldBreached

public boolean isSafetyFieldBreached(int index)
Description copied from interface: IMobilePlatformSafetyState
Gets the safety state of a specific sensor.

Specified by:
isSafetyFieldBreached in interface IMobilePlatformSafetyState
Parameters:
index - of the sensor signal
Returns:
the safety state of a safety field sensor

isWarningFieldBreached

public boolean isWarningFieldBreached(int index)
Description copied from interface: IMobilePlatformSafetyState
Gets the safety state of a specific sensor.

Specified by:
isWarningFieldBreached in interface IMobilePlatformSafetyState
Parameters:
index - of the sensor signal
Returns:
the safety state of a warning field sensor

isSafetyFieldBreached

public boolean isSafetyFieldBreached()
Description copied from interface: IMobilePlatformSafetyState
Gets the overall safety state of the safety field.

Specified by:
isSafetyFieldBreached in interface IMobilePlatformSafetyState
Returns:
the state of the safety field

isWarningFieldBreached

public boolean isWarningFieldBreached()
Description copied from interface: IMobilePlatformSafetyState
Gets the safety overall state of the warning field.

Specified by:
isWarningFieldBreached in interface IMobilePlatformSafetyState
Returns:
the state of the warning field

getSafetyState

public IMobilePlatformSafetyState.SafetyState getSafetyState()
Description copied from interface: IMobilePlatformSafetyState
Gets the safety state of the safety and warning fields.

Specified by:
getSafetyState in interface IMobilePlatformSafetyState
Returns:
the state of the safety and warning fields

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2019. All rights reserved.