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, isConnected
Fields inherited from class edu.tufts.hrilab.diarc.DiarcComponent
executionLoopCycleTime, shouldRunExecutionLoop
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Symbol
Get the stored area value of the PR2.protected boolean
Start repairing a targetprotected void
Route a message received from the Unity socket server to the appropriate method that matches the named action.boolean
startPR2Repair
(Symbol target) boolean
stopPR2Repair
(Symbol target) protected boolean
stopRepair
(String target) Stop repairing a targetMethods inherited from class edu.tufts.hrilab.unity.UnityAgent
additionalUsageInfo, connected, getResponse, listen, listen, parseArgs, sendMessage, unityReceiveMessage
Methods 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:UnityAgent
Route a message received from the Unity socket server to the appropriate method that matches the named action.- Overrides:
route
in 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
-