Description of a mouse handler

This example is defined in the directory: /home/lbesnard/Polychrony/V4.19/Linux/Examples/mouse/MouseProgram.

This directory contains the description in Signal of a mouse handler, which is a control example.

Signal prgorams

The directory contains the following files:

Description of the behavior of the mouse handler

Here follows a description of the mouse handler.

This process has two inputs:

The mouse handler has to repeatedly decide if, during some interval following an initial CLICK, some other CLICKs have been received; intervals are composed of a constant number M > 0 of TICKs and are disjoint. At the end of each such interval, the mouse emits a signal DOUBLE when another CLICK has been received since the initial one, a signal SINGLE otherwise.

The two following additional signals are displayed:

Compiling

To compile, add the $SignalLib_Graphical path to your SIGNAL_LIBRARY_PATH shell environment variable.

The command (batch SIGNAL compiler):

     signal -tra -c VTMOUSE.SIG -par=VTMOUSE.PAR -lis

produces the following files (sub-directory VTMOUSE):

The running program, VTMOUSE, is obtained by the command in the VTMOUSE sub-directory. The simultation is restricted to Unix .

  make

This makefile references the file vtmouse.o defined in the Graphic sub-directory. Please, read the file VTMOUSE/Graphic/AAREADME.TXT for more details about the graphical simulation.

Description of the running program (VTMOUSE)

The mouse itself uses the following button:

To run the mouse, type:

	VTMOUSE

The mouse (i.e. the PACE_MAKER of the mouse) is in MANUAL mode (the label AUTO is displayed on the AUTO/MANU button). You can put the mode in AUTO by depressing this button (the label MANU is then displayed on the AUTO/MANU button). You can click on the mouse by depressing the button CLICK.

 All Files

Generated on Mon Jul 25 16:55:00 2011 for Polychrony, by  doxygen 1.6.1. This page has been designed by the Espresso team ( contact )