Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-06-10 | tracker/hatire: fix threading warningopentrack-2.3-rc49p2 | Stanislaw Halik | |
It allows for direct connection now. | |||
2016-05-17 | tracker/hatire: move logger from header | Stanislaw Halik | |
There's no need for the identifier to be exposed. | |||
2016-05-15 | tracker/hatire: remove unused unused macro | Stanislaw Halik | |
2016-05-15 | many: remove executable bit from source files | Stanislaw Halik | |
We no longer have this recurring problem since I enabled ignoring executable bit changes on the Windows workstation. | |||
2016-05-09 | tracker/hatire: add serial 100% cpu usage workaround | Stanislaw Halik | |
Issue: #327 | |||
2016-05-09 | tracker/hatire: move to opentrack settings API | Stanislaw Halik | |
2016-05-09 | tracker/hatire: remove min length check duplication | Stanislaw Halik | |
The api callee already takes care of that so remove the "ok" argument. | |||
2016-05-06 | tracker/hatire: fix sleep in ready_read event handler for debug case | Stanislaw Halik | |
2016-05-06 | tracker/hatire: add debug logging variance | Stanislaw Halik | |
2016-05-06 | tracker/hatire: don't hoard more data than a single dgram | Stanislaw Halik | |
The resync code already worked without that. | |||
2016-05-06 | tracker/hatire: move function from header | Stanislaw Halik | |
2016-05-06 | tracker/hatire: simplify | Stanislaw Halik | |
We don't need to move back the datagram since we're processing the original. | |||
2016-05-04 | tracker/hatire: try to optimize the polling path | Stanislaw Halik | |
Issue: #327 | |||
2016-05-04 | tracker/hatire: switch to 200 Hz following user complaint | Stanislaw Halik | |
See: https://github.com/opentrack/opentrack/issues/327#issuecomment-215991810 | |||
2016-05-04 | tracker/hatire: remove race | Stanislaw Halik | |
Don't prepend existing remaining data racing with add new data. Expose the lock as a public member. | |||
2016-04-29 | tracker/hatire: move io to a separate thread | Stanislaw Halik | |
We can't have async io on the main thread because QSerialPort's readyRead() signal can fire constantly, thus consuming all CPU time. We can't sleep in the main thread either as that blocks too many things. We can't ignore readyRead() invocations over a threshold as that'll make us lose some of data notifications. Refactor hatire to put IO on a thread. Since this is a separate Qt event loop, we may sleep in there. Further, add a debug mode reading data from a file, as if it came from a serial-attached device. Issue: #327 |