Skip to content

Debate about whether or not events should latch #40

Open
@shamlian

Description

@shamlian

Right now, the robots' multizone sensor events (cliffs for Create, touch sensors, bumper, etc.) use event sensitivity lists which are masks; they trigger if any non-False item in the list matches with the currently incoming event. This means that for a sensor with two zones, an event with a sensitivity list [True, False] will trigger when the sensor's 0th element is triggered, and then again if that 0th element is held while the 1st element is triggered. This can lead to some strange or even confusing behavior. Should this be changed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions