Skip to content

[feat] Add access to the evaluator function in the AngularCondition.within_range #482

@phc1990

Description

@phc1990

One cannot access the evaluator function (state) -> float when creating AngularCondition.within_range, which makes it harder if somebody wants to wrap it around.

original_condition = AngularCondition.within_range(...)

def custom_evaluator(state: State) -> bool:
    original_evaluator = original_condition.get_evaluator()  # cannot do this
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions