Class RWSPoseConsultant
java.lang.Object
edu.tufts.hrilab.consultant.Consultant<RWSPoseReference>
edu.tufts.hrilab.abb.consultant.pose.RWSPoseConsultant
- All Implemented Interfaces:
ConsultantInterface
-
Field Summary
Fields inherited from class edu.tufts.hrilab.consultant.Consultant
defaultProperties, kbName, log, propertiesHandled, refConstructor, refNumber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddCameraPose(String propertyName, String poseValue) addDropoffPose(String propertyName, String cameraPoseName, String poseValue) getDropoffPoseForCameraPose(Symbol cameraPoseRefId) protected SymbolHelper method to generate next unique reference ID (e.g., object_3).getRefIdsWithPropertyNamed(String property) booleanisCameraPoseRefId(Symbol refId) <U> UlocalConvertToType(Symbol refId, Class<U> type) The local implementation of convertToType.<U> UlocalConvertToType(Symbol refId, Class<U> type, List<? extends Term> constraints) The local implementation of convertToType.toString()Methods inherited from class edu.tufts.hrilab.consultant.Consultant
addPropertiesHandled, addReference, assertProperties, assertProperties, convertToType, convertToType, createReference, createReferences, getActivatedEntities, getAllReferences, getAssertedProperties, getInitialDomain, getKBName, getPropertiesHandled, getReference, getReferenceSummaries, getReferencesWithAllProperties, getReferencesWithAnyProperties, notifyNewPropertySubscribers, process, registerForNewPropertyNotification, removeReference, retractProperties, stripQuotesFromMorpheme, unregisterForNewPropertyNotification
-
Constructor Details
-
RWSPoseConsultant
-
-
Method Details
-
localConvertToType
Description copied from class:ConsultantThe local implementation of convertToType.- Specified by:
localConvertToTypein classConsultant<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
Description copied from class:ConsultantThe local implementation of convertToType.- Specified by:
localConvertToTypein classConsultant<RWSPoseReference>- Type Parameters:
U- target Java class template type (any)- Parameters:
refId- reference resolution ID (e.g.object_3)type- target Java class typeconstraints- first-order-logic predicate constraints- Returns:
- instance of specified target Java class
-
toString
-
addCameraPose
-
addDropoffPose
-
getNextReferenceId
Description copied from class:ConsultantHelper method to generate next unique reference ID (e.g., object_3).- Overrides:
getNextReferenceIdin classConsultant<RWSPoseReference>- Returns:
- unique reference ID
-
isCameraPoseRefId
-
getDropoffPoseForCameraPose
-
getRefIdsWithPropertyNamed
-