predicate_goal
PredicateGoal
Bases: SuccessCondition
PredicateGoal (success condition) used for BehaviorTask Episode terminates if all the predicates are satisfied
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
check_goal_fn
|
method
|
function that checks goal satisfaction. Function signature should be: (all_satisfied, results) = check_goal_fn() where @all_satisfied is a bool and @results maps "satisfied"/"unsatisfied" to lists of indices. |
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 |