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
Pagecontrol - Tabsheet ca...
by
Nicole
[
Today
at 10:43:39 am]
Forum number of posts
by
rvk
[
Today
at 10:35:38 am]
raylib and addons
by
wp
[
Today
at 10:16:35 am]
Creating Self Signed Cert...
by
Trax
[
Today
at 09:23:07 am]
Converting a Project from...
by
egsuh
[
Today
at 08:36:29 am]
File open or File close -...
by
Thaddy
[
Today
at 08:25:22 am]
Connection to MySQL versi...
by
anse
[
Today
at 08:09:52 am]
[SOLVED] const char** in ...
by
440bx
[
Today
at 06:34:42 am]
Can't put Lazarus in dock
by
DanielO
[
Today
at 05:07:43 am]
FPC 3.2.2 / Apple Silicon...
by
JimKueneman
[
Today
at 04:15:15 am]
Remote access to database...
by
duralast
[
Today
at 02:23:18 am]
Online Package Manager
by
diogoabel
[
Today
at 12:21:59 am]
TValueListEditor wont acc...
by
Bart
[March 17, 2025, 11:10:34 pm]
Difference in behavior fo...
by
wp
[March 17, 2025, 10:58:00 pm]
Lazarus crashes when link...
by
Mr.Madguy
[March 17, 2025, 07:35:13 pm]
how to native camera?
by
Key-Real
[March 17, 2025, 07:00:42 pm]
online packages manager e...
by
azuar
[March 17, 2025, 06:00:22 pm]
2d game update
by
TBMan
[March 17, 2025, 05:42:36 pm]
Move tab to other pagecon...
by
Martin_fr
[March 17, 2025, 04:40:41 pm]
TATTabs and Modified stat...
by
AlexTP
[March 17, 2025, 04:34:48 pm]
i have function named sho...
by
Thaddy
[March 17, 2025, 03:11:06 pm]
How to rename or move a s...
by
anse
[March 17, 2025, 12:49:14 pm]
[maybe SOLVED] BUG in Inp...
by
robert rozee
[March 17, 2025, 11:26:58 am]
IfThenStr does not work -...
by
Thaddy
[March 17, 2025, 10:51:48 am]
TDateEdit - And dates bef...
by
OC DelGuy
[March 17, 2025, 09:54:29 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: A free pascal client for opengaze api (Read 1747 times)
cpicanco
Hero Member
Posts: 661
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: 661
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: 661
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