-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve timing that variable server sends out information #1412
Comments
This looks like a good idea! If you'd like to collaborate on it further, please open a pull request so we can go through the review process. If you'd rather not, we can work on incorporating it ourselves. Let us know! |
Do I need permissions to create a pull request? |
No, you'll create a fork of the Trick repo, add your changes, and open a pull request from there. |
OK, I got it. I didn't realize I was supposed to fork my own copy. |
By default the variable server does not keep strict timing when sending out messages. It does have a couple of options to send out packets tied to the main thread of execution which could improve timing and data homogeneity. See the Time Homogenous or Synchronous Data section of the variable server documentation. |
I found that increasing the priority of IP packets from the variable server really improved the timing when working in realtime situations. I did this using the setsocklet(SOL_SOCKET, SO_PRIORITY,... function.
Would you like to add this functionality to trick? I have attached a patch for your consideration.
trick-patch.txt
FYI you can also contact me at this email address: [email protected]
The text was updated successfully, but these errors were encountered: