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
[Solved]Printing unicode ...
by
cdbc
[
Today
at 02:47:40 am]
How to set the desktop co...
by
Fibonacci
[
Today
at 02:42:15 am]
MIDI commands
by
finlazarus
[
Today
at 02:26:09 am]
FPSpreadSheet, ReadAsText...
by
andresayang
[
Today
at 02:13:18 am]
Lazarus for Windows on aa...
by
msintle
[
Today
at 01:53:20 am]
Common File Dialogs Have ...
by
msintle
[
Today
at 01:52:27 am]
Game Music Emulator
by
TRon
[
Today
at 01:23:56 am]
had a question and found ...
by
Weiss
[
Today
at 12:59:57 am]
Constants in constant exp...
by
440bx
[December 08, 2024, 11:41:59 pm]
ColorDialog can have opti...
by
Bart
[December 08, 2024, 09:14:55 pm]
Array of String lookup gi...
by
TRon
[December 08, 2024, 09:04:03 pm]
kernel 6.8 and checking s...
by
MarkMLl
[December 08, 2024, 08:12:08 pm]
AVRPascal – free code edi...
by
ackarwow
[December 08, 2024, 07:34:07 pm]
Api/component pack for Ra...
by
MarkMLl
[December 08, 2024, 07:11:01 pm]
SAVE StringGrid to PDF
by
dseligo
[December 08, 2024, 06:37:39 pm]
How to save a Graphic fro...
by
Hartmut
[December 08, 2024, 05:57:03 pm]
Array of String lookup gi...
by
Wilko500
[December 08, 2024, 05:47:16 pm]
Developing a Kernel Modul...
by
Joanna from IRC
[December 08, 2024, 04:35:26 pm]
Interesting article about...
by
cdbc
[December 08, 2024, 03:18:36 pm]
How to get hash of entire...
by
Warfley
[December 08, 2024, 01:30:18 pm]
IFS Fractals: Iterating t...
by
Dzandaa
[December 08, 2024, 11:51:08 am]
Баги CYBERGRAPHICS AmigaO...
by
Smalovsky
[December 08, 2024, 09:39:52 am]
C operators and shift
by
MarkMLl
[December 08, 2024, 09:33:12 am]
fphttpapp and Windows Ser...
by
Thaddy
[December 08, 2024, 08:36:36 am]
MIDI file generator - wor...
by
finlazarus
[December 08, 2024, 02:49:40 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: A free pascal client for opengaze api (Read 1491 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