Package edu.tufts.hrilab.unity
Class MockUnityPR2Component
java.lang.Object
edu.tufts.hrilab.diarc.DiarcComponent
edu.tufts.hrilab.unity.MockUnityPR2Component
- All Implemented Interfaces:
UnityPR2Interface
-
Field Summary
Fields inherited from class edu.tufts.hrilab.diarc.DiarcComponent
executionLoopCycleTime, log, shouldRunExecutionLoop -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()Perform any component initialization.booleanstartPR2Repair(Symbol target) booleanstopPR2Repair(Symbol target) Methods inherited from class edu.tufts.hrilab.diarc.DiarcComponent
additionalUsageInfo, attachShutdownHook, createInstance, createInstance, createInstance, executionLoop, getMyGroupConstraints, getMyGroups, getMyService, getMyServices, main, parseArgs, postRegistrationInit, shutdown, shutdownComponent
-
Constructor Details
-
MockUnityPR2Component
public MockUnityPR2Component()
-
-
Method Details
-
init
public void init()Description copied from class:DiarcComponentPerform any component initialization. This should not be used for setting local fields to default values as was the case in DIARC. This method is called after the constructor, and after parseArgs. Setting default values should be done in field declaration or in the constructor.- Overrides:
initin classDiarcComponent
-
getPR2Area
- Specified by:
getPR2Areain interfaceUnityPR2Interface
-
startPR2Repair
- Specified by:
startPR2Repairin interfaceUnityPR2Interface
-
stopPR2Repair
- Specified by:
stopPR2Repairin interfaceUnityPR2Interface
-