Class RWSPoseConsultant

java.lang.Object
edu.tufts.hrilab.consultant.Consultant<RWSPoseReference>
edu.tufts.hrilab.abb.consultant.pose.RWSPoseConsultant
All Implemented Interfaces:
ConsultantInterface

public class RWSPoseConsultant extends Consultant<RWSPoseReference>
  • Constructor Details

    • RWSPoseConsultant

      public RWSPoseConsultant(List<String> groups)
  • Method Details

    • localConvertToType

      public <U> U localConvertToType(Symbol refId, Class<U> type)
      Description copied from class: Consultant
      The local implementation of convertToType.
      Specified by:
      localConvertToType in class Consultant<RWSPoseReference>
      Type Parameters:
      U - target Java class template type (any)
      Parameters:
      refId - reference resolution ID (e.g.object_3)
      type - target Java class type
      Returns:
      instance of specified target Java class
    • localConvertToType

      public <U> U localConvertToType(Symbol refId, Class<U> type, List<? extends Term> constraints)
      Description copied from class: Consultant
      The local implementation of convertToType.
      Specified by:
      localConvertToType in class Consultant<RWSPoseReference>
      Type Parameters:
      U - target Java class template type (any)
      Parameters:
      refId - reference resolution ID (e.g.object_3)
      type - target Java class type
      constraints - first-order-logic predicate constraints
      Returns:
      instance of specified target Java class
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • addCameraPose

      public Symbol addCameraPose(String propertyName, String poseValue)
    • addDropoffPose

      public Symbol addDropoffPose(String propertyName, String cameraPoseName, String poseValue)
    • getNextReferenceId

      protected Symbol getNextReferenceId()
      Description copied from class: Consultant
      Helper method to generate next unique reference ID (e.g., object_3).
      Overrides:
      getNextReferenceId in class Consultant<RWSPoseReference>
      Returns:
      unique reference ID
    • isCameraPoseRefId

      public boolean isCameraPoseRefId(Symbol refId)
    • getDropoffPoseForCameraPose

      public Symbol getDropoffPoseForCameraPose(Symbol cameraPoseRefId)
    • getRefIdsWithPropertyNamed

      public List<Symbol> getRefIdsWithPropertyNamed(String property)