The Queue of Events

From Hydrover
Revision as of 15:30, 21 June 2017 by Andrea (talk | contribs) (Creata pagina con "= Introduction = The queue of events is the queue where the system send events such as: input change, user action, encoder or transducer match, and from where the user's prog...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

The queue of events is the queue where the system send events such as: input change, user action, encoder or transducer match, and from where the user's program get events to process and react to.

Structure of an Event

An event is defined in the library as an array of values [.opcode, .p0, .p1, .p2, .p3] where the first value .opcode is used to identify the event and the subsequent values .p0, .p1, .p2, .p3 contains informations specific to that event.

Events' Library Functions

Processing Events