predicate_goal
PredicateGoal
Bases: SuccessCondition
PredicateGoal (success condition) used for BehaviorTask Episode terminates if all the predicates are satisfied
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
goal_fcn
|
method
|
function for calculating goal(s). Function signature should be: goals = goal_fcn() where @goals is a list of bddl.condition_evaluation.HEAD -- compiled BDDL goal conditions |
required |
Source code in OmniGibson/omnigibson/termination_conditions/predicate_goal.py
goal_status
property
Returns:
| Type | Description |
|---|---|
dict
|
Current goal status for the active predicate(s), mapping "satisfied" and "unsatisfied" to a list of the predicates matching either of those conditions |