Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Announcements
»
Third party
»
A free pascal client for opengaze api
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
CLI | Wildcard parameters...
by
Bart
[
Today
at 03:03:07 pm]
Cannot open Access databa...
by
ranny
[
Today
at 03:01:34 pm]
Hints.
by
seghele0
[
Today
at 02:52:41 pm]
Broken Icon Display on ma...
by
msintle
[
Today
at 02:42:54 pm]
7zip DLL is super broken
by
rvk
[
Today
at 02:40:29 pm]
Problems with Gitlab
by
Joanna
[
Today
at 02:27:28 pm]
Browser User Agent & Frie...
by
Aruna
[
Today
at 02:21:42 pm]
Extended Module Player
by
Gigatron
[
Today
at 02:20:32 pm]
Problem with pasting text...
by
AlexTP
[
Today
at 01:23:43 pm]
Any support for Perpendic...
by
circular
[
Today
at 01:07:16 pm]
C++ porting: Is this real...
by
iLya2IK
[
Today
at 12:45:48 pm]
TStateMachine
by
af0815
[
Today
at 12:12:26 pm]
LazCAD – First Release!
by
maurog
[
Today
at 11:32:00 am]
Class designer/editor
by
dseligo
[
Today
at 11:19:16 am]
Searching for a safe alte...
by
Thaddy
[
Today
at 11:14:23 am]
Local Vars often inspect ...
by
Martin_fr
[
Today
at 11:05:07 am]
GMP: multiple precision a...
by
Zvoni
[
Today
at 10:43:39 am]
order of evaluation of ov...
by
Thaddy
[
Today
at 10:30:30 am]
Child board for reporting...
by
Joanna
[
Today
at 04:02:52 am]
TDBDateEdit component def...
by
wp
[
Today
at 12:04:56 am]
Are there some components...
by
vfclists
[September 10, 2024, 11:45:12 pm]
Key Word vs Key Char
by
Bart
[September 10, 2024, 11:21:51 pm]
Font draw in customdraw i...
by
jamie
[September 10, 2024, 11:00:54 pm]
Was:Forum Upgrade? by @Re...
by
Martin_fr
[September 10, 2024, 08:38:05 pm]
CPU & Memory Profiler
by
440bx
[September 10, 2024, 06:55:37 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: A free pascal client for opengaze api (Read 1249 times)
cpicanco
Hero Member
Posts: 633
Behavioral Scientist and Programmer
A free pascal client for opengaze api
«
on:
June 30, 2024, 11:45:53 pm »
Hi everyone!
I am sharing a client to communicate with Gazepoint eye tracker. It is really simple right now. You can connect and control the Gazepoint Control server using calibration and record commands:
https://github.com/cpicanco/fpc-opengaze
Logged
Be mindful and excellent with each other.
https://github.com/cpicanco/
cpicanco
Hero Member
Posts: 633
Behavioral Scientist and Programmer
Re: A free pascal client for opengaze api
«
Reply #1 on:
July 05, 2024, 12:48:24 pm »
Recent commits introduce calibration choreographies for remote and local setups
Logged
Be mindful and excellent with each other.
https://github.com/cpicanco/
cpicanco
Hero Member
Posts: 633
Behavioral Scientist and Programmer
Re: A free pascal client for opengaze api
«
Reply #2 on:
July 15, 2024, 11:58:51 am »
Recent commits introduce a worker thread to fix a bug in the blocking logic, which was causing long strings to be partially lost.
# Incoming thread
https://github.com/cpicanco/fpc-opengaze/blob/cedae7e6585740e79137a54d2df77f2868b4cc33/src/opengaze.incoming.pas
The TCP/IP client receives strings from a server running at 150 Hz. After this low-level (synaser) processing, the client's incoming thread splits the received strings into "commands" using #13#10 as a constant separator. Partially received commands, if any, are saved for the next receive round. Full commands are enqueued into a thread-safe list.
# Worker thread
https://github.com/cpicanco/fpc-opengaze/blob/cedae7e6585740e79137a54d2df77f2868b4cc33/src/opengaze.worker.pas
A worker thread that controls blocking versus non-blocking commands waits for commands and processes them until all command processing is complete.
I would greatly appreciate it if you could share your comments or suggestions.
Logged
Be mindful and excellent with each other.
https://github.com/cpicanco/
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Announcements
»
Third party
»
A free pascal client for opengaze api
TinyPortal
© 2005-2018