|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kuka.roboticsAPI.controllerModel.ControllerService
com.kuka.roboticsAPI.controllerModel.RecordingService
com.kuka.roboticsAPI.controllerModel.sunrise.SunriseRecordingService
public class SunriseRecordingService
Sunrise service class for data recording and statistic calculation.
| Constructor Summary | |
|---|---|
SunriseRecordingService()
|
|
| Method Summary | |
|---|---|
void |
enableRecording(DataRecorder dataRecorder,
boolean hasTrigger)
Enables the data recorder. |
String |
getDefaultFileName(DataRecorder dataRecorder)
Provides the name of the file in which the data will be saved. |
SunriseRecordingCommand |
getRecordingCommand(DataRecorder dataRecorder)
Gets the underlying recording command. |
SPR |
getRecordingSPR(DataRecorder dataRecorder)
Provides the recording SPR in which the dataRecorder is running. |
boolean |
isEnabled()
Provides the information about whether the recording is enabled or not. |
boolean |
isEvaluating(TorqueEvaluator torqueEvaluator)
Provides the information about whether the statistic data are being evaluated now or not. |
boolean |
isRecording()
Provides the state of the recording process. |
void |
startEvaluation(TorqueEvaluator torqueEvaluator)
Starts the torque statistic data evaluation. |
void |
startRecording(DataRecorder dataRecorder)
Starts recording of data. |
TorqueStatistic |
stopEvaluation(TorqueEvaluator torqueEvaluator)
Stops data evaluation and returns the desired statistic result. |
void |
stopRecording(DataRecorder dataRecorder)
Stops recording of data. |
| Methods inherited from class com.kuka.roboticsAPI.controllerModel.ControllerService |
|---|
dispose, getContext, getController, initialize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SunriseRecordingService()
| Method Detail |
|---|
public void startRecording(DataRecorder dataRecorder)
DataRecorder must be enabled in
order to start the recording process. Enabled means that the data
recorder is ready to start recording. A disable process occurs
automatically when the data recorder stops.
startRecording in class RecordingServicedataRecorder - the data recorder.#enable()
public void enableRecording(DataRecorder dataRecorder,
boolean hasTrigger)
RecordingService
enableRecording in class RecordingServicedataRecorder - the data recorder.hasTrigger - the information whether data recorder is used as trigger or
not.#startRecording(),
#stopRecording()public void stopRecording(DataRecorder dataRecorder)
stopRecording in class RecordingServicedataRecorder - the data recorder.#enable(),
#startRecording()public SunriseRecordingCommand getRecordingCommand(DataRecorder dataRecorder)
dataRecorder - DataRecorder to get the command for.
DataRecorder is the given one, otherwise
nullpublic String getDefaultFileName(DataRecorder dataRecorder)
RecordingService
getDefaultFileName in class RecordingServicedataRecorder - the data recorder.
public boolean isEnabled()
isEnabled in class RecordingServicetrue if the SPR-state of the data recording SPR is at least SPRState.Preparing but not
SPRState.Maintaining or further yet, false otherwise.public boolean isRecording()
isRecording in class RecordingServicetrue if the SPR-state of the data recording SPR is SPRState.Active, false
otherwise.public SPR getRecordingSPR(DataRecorder dataRecorder)
getRecordingSPR in class RecordingServicedataRecorder - the data recorder.
dataRecorder has been enabled,
null otherwise.public void startEvaluation(TorqueEvaluator torqueEvaluator)
RecordingService
startEvaluation in class RecordingServicetorqueEvaluator - the corresponding torque evaluator.public TorqueStatistic stopEvaluation(TorqueEvaluator torqueEvaluator)
RecordingService
stopEvaluation in class RecordingServicetorqueEvaluator - the corresponding torque evaluator.
public boolean isEvaluating(TorqueEvaluator torqueEvaluator)
isEvaluating in class RecordingServicetorqueEvaluator - the corresponding torque evaluator.
true if the SPR-state of the data statistic SPR is SPRState.Active, false
otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||