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
SQLite3 Date Problem
by
egsuh
[
Today
at 06:29:10 am]
Interesting article about...
by
LV
[
Today
at 05:51:47 am]
how to control the order ...
by
TRon
[
Today
at 05:00:02 am]
D2Bridge Framework for La...
by
egsuh
[
Today
at 04:48:02 am]
Application deployment
by
cousinp
[
Today
at 04:28:36 am]
[SOLVED] FPSpreadSheet, ...
by
TRon
[
Today
at 01:25:51 am]
Is it possible to do git ...
by
TRon
[
Today
at 12:41:39 am]
had a question and found ...
by
TRon
[
Today
at 12:36:57 am]
Draw Transparent Fill Rec...
by
LBox
[
Today
at 12:00:51 am]
Wiki, a dead link in page...
by
d7_2_laz
[December 09, 2024, 10:53:21 pm]
MIDI commands
by
TRon
[December 09, 2024, 10:43:22 pm]
Record "inheritance"/stru...
by
PascalDragon
[December 09, 2024, 10:31:25 pm]
Who catches the Linux sig...
by
LV
[December 09, 2024, 09:47:15 pm]
FreePascal version of gcc...
by
PascalDragon
[December 09, 2024, 09:45:02 pm]
Lazarus for Windows on aa...
by
PascalDragon
[December 09, 2024, 09:21:38 pm]
SAVE StringGrid to PDF
by
dseligo
[December 09, 2024, 07:42:30 pm]
ColorDialog can have opti...
by
Bart
[December 09, 2024, 06:07:24 pm]
Hustle - A simple task ma...
by
BSaidus
[December 09, 2024, 04:58:15 pm]
Notepad++ plugin with doc...
by
d7_2_laz
[December 09, 2024, 04:07:14 pm]
TLazSerial : serial port ...
by
CM630
[December 09, 2024, 04:05:20 pm]
MainMenu: How to use the ...
by
madref
[December 09, 2024, 03:39:05 pm]
Program running on after ...
by
MarkMLl
[December 09, 2024, 03:23:45 pm]
Array of String lookup gi...
by
jcmontherock
[December 09, 2024, 11:50:47 am]
The Silver Coder on YouTu...
by
silvercoder70
[December 09, 2024, 11:49:09 am]
Api/component pack for Ra...
by
cdbc
[December 09, 2024, 11:43:17 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: A free pascal client for opengaze api (Read 1494 times)
cpicanco
Hero Member
Posts: 655
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: 655
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: 655
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