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
MQTT made easier...
by
avra
[
Today
at 05:03:13 pm]
Why free pascal suppress ...
by
nanobit
[
Today
at 04:35:40 pm]
Is there a way to emphasi...
by
cdbc
[
Today
at 04:17:43 pm]
RTL: export/import WriteL...
by
paule32
[
Today
at 04:15:30 pm]
Treeview: full-width back...
by
wp
[
Today
at 04:03:26 pm]
Deal or no Deal graphic
by
TBMan
[
Today
at 03:51:53 pm]
read keys from windows ko...
by
marcov
[
Today
at 03:49:22 pm]
my programs crash
by
jamie
[
Today
at 01:22:58 pm]
Custom self drawn compone...
by
cdbc
[
Today
at 12:50:10 pm]
IsNan
by
robert rozee
[
Today
at 12:07:43 pm]
Reading and writing AVIF ...
by
Boleeman
[
Today
at 12:01:52 pm]
Reading FLIF images in La...
by
Boleeman
[
Today
at 11:58:25 am]
FLIF and FUIF Formats (Fr...
by
Boleeman
[
Today
at 11:42:17 am]
efficiency problem
by
photor
[
Today
at 11:33:05 am]
Failed to connect to a si...
by
jcmontherock
[
Today
at 10:54:36 am]
making default event hand...
by
egsuh
[
Today
at 10:03:37 am]
TmemTable has not onCalcF...
by
egsuh
[
Today
at 08:46:27 am]
Simple mouse solution for...
by
Lauriet
[
Today
at 08:15:34 am]
Scrollbox, scrollbar Back...
by
ASerge
[
Today
at 08:14:46 am]
"extended" real type prec...
by
LV
[
Today
at 06:48:44 am]
FPC can't link screen_dem...
by
mccfrank
[
Today
at 12:06:32 am]
ThemeServices.DrawText in...
by
regs
[February 08, 2025, 11:25:01 pm]
Gradient with fcl-image
by
wp
[February 08, 2025, 10:46:18 pm]
using RunCommand to wrap ...
by
nomorelogic
[February 08, 2025, 10:39:37 pm]
ellipse ? off topic
by
BubikolRamios
[February 08, 2025, 10:15:18 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: A free pascal client for opengaze api (Read 1605 times)
cpicanco
Hero Member
Posts: 659
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: 659
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: 659
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