-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Look into python asyncio/callback functions #260
Comments
Need to process both frames for faster and better response: |
currently joustmania uses if move.poll(): |
Detecting dropped frames: |
Currently each controller gets it's own process but the logic loop is as follows:
get controller reading
do game logic
ect.....
instead with async or callback functions we can do as follows:
do game logic
(new sensor reading come in)
process sensor reading
continue to do game logic until new sensor reading ect..
This paradigm should make things much smoother especially when paired with an EKF as well.
The text was updated successfully, but these errors were encountered: