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
Why there is no build-in ...
by
Artyom
[
Today
at 01:07:09 pm]
Lazarus Install Question
by
Martin_fr
[
Today
at 12:57:13 pm]
'Events' Quiry
by
Martin_fr
[
Today
at 12:50:50 pm]
Ctrl-V doesn't work anymo...
by
TRon
[
Today
at 12:30:26 pm]
TListView - please advis...
by
Nicole
[
Today
at 12:10:52 pm]
Randomally generated code
by
Fibonacci
[
Today
at 12:09:44 pm]
TStringGrid: what is the ...
by
Handoko
[
Today
at 12:08:57 pm]
UUIDv7 library and demo
by
Thaddy
[
Today
at 11:38:15 am]
macOS 15.4 Breaks All Com...
by
Hansaplast
[
Today
at 11:35:27 am]
ShowModal has a bug in Li...
by
TRon
[
Today
at 11:34:11 am]
Reducing the saturation o...
by
MarkMLl
[
Today
at 11:11:47 am]
Why isn't Lazarus / Free ...
by
marcov
[
Today
at 09:09:58 am]
Text Property is conflict...
by
jamie
[April 27, 2025, 09:21:33 pm]
EOF Problem
by
J-G
[April 27, 2025, 09:20:05 pm]
upvote a reply
by
440bx
[April 27, 2025, 07:56:59 pm]
Testing with SQLite3DataS...
by
paweld
[April 27, 2025, 07:12:58 pm]
Fixing or working around ...
by
Nel_Fie
[April 27, 2025, 06:10:49 pm]
Fpcupdeluxe
by
DonAlfredo
[April 27, 2025, 04:34:58 pm]
[solved] macro for code ?
by
Tomas Hajny
[April 27, 2025, 04:24:09 pm]
TAudio- play, edit, conve...
by
minesadorada
[April 27, 2025, 03:33:45 pm]
Fpcupdeluxe and trunk
by
LemonParty
[April 27, 2025, 02:17:28 pm]
[SOLVED] Problems accessi...
by
Ever
[April 27, 2025, 01:41:45 pm]
String Grid move to cell
by
bowlofpetunias
[April 27, 2025, 01:05:41 pm]
Macos Sequoia Lazarus 3.8...
by
Nimbus
[April 27, 2025, 12:41:34 pm]
Does TIpHtmlPanel support...
by
daniel_sap
[April 27, 2025, 12:13:30 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: A free pascal client for opengaze api (Read 1773 times)
cpicanco
Hero Member
Posts: 662
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: 662
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: 662
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