Skip to content

Debate about whether or not events should latch #40

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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