Skip to content

Commit

Permalink
add OSC based EOG sensor driver
Browse files Browse the repository at this point in the history
  • Loading branch information
gisogrimm committed Jun 14, 2024
1 parent 41dd5ba commit 759c3d1
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 1 deletion.
10 changes: 10 additions & 0 deletions examples/osceog_datalogging.tsc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<session>
<scene/>
<modules>
<osceog srate="860" eogpath="/eog"/>
<datalogging>
<osc path="/eog" size="3" ignorefirst="true"/>
</datalogging>
</modules>
</session>
1 change: 1 addition & 0 deletions manual/documentation.tsc
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
<route/>
<!--<ovheadtracker/>-->
<oscheadtracker/>
<osceog srate="860" eogpath="/eog"/>
<hoafdnrot/>
<echoc measureatstart="true"/>
<glabsensors>
Expand Down
29 changes: 29 additions & 0 deletions manual/modosceog.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
OSC based EOG sensor driver

\definecolor{shadecolor}{RGB}{255,230,204}\begin{snugshade}
{\footnotesize
\label{attrtab:osceog}
Attributes of element {\bf osceog}\nopagebreak

\begin{tabularx}{\textwidth}{lXl}
\hline
name & description (type, unit) & def.\\
\hline
\hline
\indattr{connectwlan} & connect to sensor to external WLAN (bool) & false\\
\hline
\indattr{eogpath} & OSC target path for EOG data, or empty for no EOG (string) & /eog\\
\hline
\indattr{name} & Prefix in OSC control variables (string) & osceog\\
\hline
\indattr{srate} & Sensor sampling rate (8, 16, 32, 64, 128, 250, 475, 860) (uint32, Hz) & 128\\
\hline
\indattr{targetip} & target IP address when using external WLAN (string) & \\
\hline
\indattr{wlanpass} & passphrase of external WLAN (string) & \\
\hline
\indattr{wlanssid} & SSID of external WLAN (string) & \\
\hline
\end{tabularx}
}
\end{snugshade}
1 change: 1 addition & 0 deletions manual/oscdoc_sound_t.tex
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
\attr{/.../ismmin} & i & & yes & Minimal Image Source Model order\\
\attr{/.../layers} & i & & yes & Number representing the layers. Each layer is represented by a bit, i.e., for layers 1+3 use 10\\
\attr{/.../lingain} & f & & no & Linear gain\\
\attr{/.../mute} & i & bool & yes & Mute state of individual sound, independent of parent\\
\attr{/.../pos} & fff & & yes & local position of sound vertex in meters\\
\attr{/.../size} & f & & yes & Object size in meter\\
\attr{/.../zeuler} & f & & no & Z orientation of the sound vertex, in degree\\
Expand Down
1 change: 1 addition & 0 deletions packaging/deb/tascarcli.csv
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
"plugins/build/tascar_motionpath.so","usr/lib/"
"plugins/build/tascar_nearsensor.so","usr/lib/"
"plugins/build/tascar_oscactor.so","usr/lib/"
"plugins/build/tascar_osceog.so","usr/lib/"
"plugins/build/tascar_oscevents.so","usr/lib/"
"plugins/build/tascar_oscheadtracker.so","usr/lib/"
"plugins/build/tascar_oscjacktime.so","usr/lib/"
Expand Down
2 changes: 1 addition & 1 deletion plugins/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ TASCARMODS = system pos2osc sampler pendulum epicycles motionpath \
hossustain rotator orientationmodulator locationmodulator \
linearmovement granularsynth fail waitforjackport sleep jackrec \
oscserver oscrelay echoc snapangle oscactor \
oscheadtracker tonalenhancement systime
oscheadtracker osceog tonalenhancement systime

TASCARMODSGUI = tracegui simplecontroller timedisplay geopresets \
transportgui lightcolorpicker datalogging sendsvg
Expand Down

0 comments on commit 759c3d1

Please sign in to comment.