Package edu.tufts.hrilab.unity
Class UnityPR2
java.lang.Object
edu.tufts.hrilab.diarc.DiarcComponent
edu.tufts.hrilab.unity.UnityAgent
edu.tufts.hrilab.unity.UnityPR2
-
Field Summary
Fields inherited from class edu.tufts.hrilab.unity.UnityAgent
agent, isConnectedFields inherited from class edu.tufts.hrilab.diarc.DiarcComponent
executionLoopCycleTime, shouldRunExecutionLoop -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SymbolGet the stored area value of the PR2.protected booleanStart repairing a targetprotected voidRoute a message received from the Unity socket server to the appropriate method that matches the named action.booleanstartPR2Repair(Symbol target) booleanstopPR2Repair(Symbol target) protected booleanstopRepair(String target) Stop repairing a targetMethods inherited from class edu.tufts.hrilab.unity.UnityAgent
additionalUsageInfo, connected, getResponse, listen, listen, parseArgs, sendMessage, unityReceiveMessageMethods inherited from class edu.tufts.hrilab.diarc.DiarcComponent
createInstance, createInstance, createInstance, createInstance, executionLoop, getMyGroupConstraints, getMyGroups, getMyService, getMyServices, init, main, shutdown, shutdownComponent
-
Constructor Details
-
UnityPR2
public UnityPR2()
-
-
Method Details
-
route
Description copied from class:UnityAgentRoute a message received from the Unity socket server to the appropriate method that matches the named action.- Overrides:
routein classUnityAgent- Parameters:
msg- - Message originating from Unity to route to method.
-
areaResponse
Get the stored area value of the PR2. -
getPR2Area
-
repair
Start repairing a target -
startPR2Repair
-
stopRepair
Stop repairing a target -
stopPR2Repair
-