You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.
Also consider instead combining the daemon into the main app server process as a thread. This may cause performance to suffer because of the GIL and the polling the daemon does so frequently, but maybe not in practice. This wouldn't be a problem if we switch the daemon to an evented model and use EventMachine.
I recently noticed the serial params error reported by @st-atila in #45 happening on Linux with the mock sensor after the 1st run. It seems that on Linux, the kernel doesn't like us to set the serial parameters more than once.
A workaround is to restart the bin/mock-sensor program before each rails server restart.
I am replying under this issue instead, because this issue will no longer occur once the mock-sensor is built into the rails server.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When starting the daemon with something like:
Start the daemon in a thread, and run the mock-sensor in the foreground. Automatically set $TRACK_SENSOR_DEVICE so the user doesn't have to.
The text was updated successfully, but these errors were encountered: