Class UnityPR2


public class UnityPR2 extends UnityAgent
  • Constructor Details

    • UnityPR2

      public UnityPR2()
  • Method Details

    • route

      protected void route(Message msg)
      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 class UnityAgent
      Parameters:
      msg - - Message originating from Unity to route to method.
    • areaResponse

      protected Symbol areaResponse()
      Get the stored area value of the PR2.
    • getPR2Area

      public Symbol getPR2Area()
    • repair

      protected boolean repair(String target)
      Start repairing a target
    • startPR2Repair

      public boolean startPR2Repair(Symbol target)
    • stopRepair

      protected boolean stopRepair(String target)
      Stop repairing a target
    • stopPR2Repair

      public boolean stopPR2Repair(Symbol target)