Joystick Tracker Element

Modified on 2018/08/02 23:42 by Administrator — Categorized as: Base Elements, Elements, Mouse Touch Joystick

Summary

Element Icon Joystick Tracker
Info
Category: Mouse Touch Joystick AddIn: Base Layer
Creator: OkazoLab Scope: Experiment
Owns Snippets: None Usage: Snippets

Synchronized actions

EpochActions
On Experiment Start                        Starts processing tracker samples
On Experiment Start                        Stops processing tracker samples

Properties

NameDescription                              ConstraintsTypeOn
runtime
change
Settings
Joystick Device        Defines the joystick device                String         
X Axis        Defines a joystick axis for the horizonal movements                Int32         
Y Axis        Defines a joystick axis for the vertical movements                Int32         
Tracking Mode        Defines the tracking mode, which controls how changes of the joystick axes affect the tracking position                Int32         
Calibration
Run Calibration        Open a calibration window                Boolean         
Relative Speed Factor        Defines a speed factor for delta changes in the relative tracking mode                Double         
Relative Delta Threshold        Defines the minimal delta threshold for the stick angle in the relative tracking mode                Double         
Gain X                        Double         
Gain Y                        Double         
Offset X                        Double         
Offset Y                        Double         
Tracker Samples
Newest Samples        Returns an array of the most recent tracker samples. The array is updated every Control Loop cycle.                clPoin..         
Newest Sample        Returns the newest tracker sample. The sample is updated every Control Loop cycle.                clPoint         
Runtime
Radar Point        Returns the newest tracking position. In order to reset the tracking position in the relative mode, you can assign a new point to this property.                clPoint         
Filters
Smoothing Ratio        Defines a ratio for the fast FIR smoothing filter, which is applied to the gaze tracking within EventIDE. The filter convolves every new tracking position with the previous ones. The property value defines a tap weight for the previous data, such that the convolution looks like: X=(Xn*(1-Ratio)+Xn-1*Ratio)/2. The value has to be positive and less than 1 (0 means no filtering).                Double         
Logging
Log Folder        Opens the dialog for selecting a local folder that will hold all tracking logs                String         
Open Log Designer        Opens a designer window where the log format can be defined.                Boolean         
Is Logging        Defines whether logging is turn on/off.The value can be changed at any moment at runtime allowing selective logging during the relevant periods only.                Boolean         
User Field        Defines the custom user data that is added to every line in the log file. The property can be used for recording varying status information (e.g. trial number) together with the tracker data. The string value may contains multiple fields separated by delimiter.                String         
Control
Is Enabled        If set to false the element is completely omitted when the experiment is run                Boolean         
Title        Title of the element                String         

Joystick Tracker Element

Description

...

Snapshots

Snapshot 1

Snapshot 1

Snapshot 2

Snapshot 2

Practical Use

...

Technique 1

  1. Step 1
  2. Step 2
    ...
    === Technique 2 ===
  3. Step 1
  4. Step 2
    ...

     // Check the trial outcome. Result and RT just other user variables
    
    // insert code snippet here..
               
    ...
    == Notes ==
    ...
  5. Insert Notes here..
  6. Insert Notes here..