|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.sunrise.state.kmp.provider.MobilePlatformStateProvider
public class MobilePlatformStateProvider
State provider of MobilePlatform.
Currently provides IMobilePlatformBatteryState and IMobilePlatformSafetyState.
| Field Summary | |
|---|---|
protected boolean |
_areSensorsInitialized
Boolean value indicating if all sensors are initialized. |
protected com.kuka.roboticsAPI.controllerModel.Controller |
_controller
The mobile platform controller. |
protected int |
_numOfSensors
Number of sensors. |
| Constructor Summary | |
|---|---|
MobilePlatformStateProvider(com.kuka.roboticsAPI.controllerModel.Controller controller)
Creates new instance of MobilePlatformStateProvider. |
|
| Method Summary | |
|---|---|
IMobilePlatformBatteryState |
getMobilePlatformBatteryState()
Getting the current battery state of a mobile platform. |
protected BitSet |
getMobilePlatformIOValue(com.kuka.roboticsAPI.controllerModel.Controller controller,
String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.SunriseIOType ioType,
boolean isOutput)
return the IO value for a given IO. |
IMobilePlatformSafetyState |
getMobilePlatformSafetyState()
Returns an IMobilePlatformSafetyState object containing the current mobile platform safety field data. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected com.kuka.roboticsAPI.controllerModel.Controller _controller
protected boolean _areSensorsInitialized
protected int _numOfSensors
| Constructor Detail |
|---|
public MobilePlatformStateProvider(com.kuka.roboticsAPI.controllerModel.Controller controller)
MobilePlatformStateProvider.
controller - Controller| Method Detail |
|---|
public IMobilePlatformBatteryState getMobilePlatformBatteryState()
IMobilePlatformBatteryState and null if an error occurred.public IMobilePlatformSafetyState getMobilePlatformSafetyState()
IMobilePlatformSafetyState object containing the current mobile platform safety field data.
null if an error occurred during
reading IOs.
protected BitSet getMobilePlatformIOValue(com.kuka.roboticsAPI.controllerModel.Controller controller,
String ioGroupName,
String ioName,
com.kuka.roboticsAPI.ioModel.SunriseIOType ioType,
boolean isOutput)
throws IOException
controller - The controller nameioGroupName - The IO group nameioName - The IO nameioType - TheIO typeisOutput - true if IO is an output
IOException - Throws exception if the defined IO cannot be found.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||