Class LidarDoorComponent

java.lang.Object
edu.tufts.hrilab.diarc.DiarcComponent
edu.tufts.hrilab.lidar.LidarDoorComponent

public class LidarDoorComponent extends DiarcComponent
  • Constructor Details

    • LidarDoorComponent

      public LidarDoorComponent()
  • Method Details

    • init

      protected void init()
      Description copied from class: DiarcComponent
      Perform 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:
      init in class DiarcComponent
    • waitForOpenDoor

      public Symbol waitForOpenDoor()
      Action to wait for a door to open and returns a reference to the open door. Waits up to a minute.
      Returns:
      reference to open door
    • isDoorOpen

      public Justification isDoorOpen(Symbol door)
      Action to query if a door is open
      Parameters:
      door - a symbolic representation of the door being queried
      Returns:
      if door is open or not