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
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:
currently joustmania uses if move.poll():
which I believe is only using the most up to date data, we should update this to use while move.poll(): to get all data from the controllers
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: