Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debate about whether or not events should latch #40

Open
shamlian opened this issue Jan 12, 2024 · 0 comments
Open

Debate about whether or not events should latch #40

shamlian opened this issue Jan 12, 2024 · 0 comments
Labels
question Further information is requested

Comments

@shamlian
Copy link
Collaborator

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?

@shamlian shamlian added the question Further information is requested label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant