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 Oct 27, 2020. It is now read-only.
Hi devs,
I'm a programmer on Team 7149. Recently, we've been doing a deep dive into the FTC SDK and we were wondering how the Gamepad class updates during loops. We noticed that in EventLoopManager, the gamepad.fromByteArray() method is called instead of one of the update() functions. How does the fromByteArray method work? How did you determine what hex values to use?
Thanks,
Team 7149
The text was updated successfully, but these errors were encountered:
fromByteArray() is called to fill the object with the serialized gamepad data sent over from the Driver Station. Since the gamepads are not connected to the Robot Controller, it would make sense that update() is not used in the RC side code; most likely it is only used on the DS side. (Shared codebase)
Hi devs,
I'm a programmer on Team 7149. Recently, we've been doing a deep dive into the FTC SDK and we were wondering how the Gamepad class updates during loops. We noticed that in EventLoopManager, the gamepad.fromByteArray() method is called instead of one of the update() functions. How does the fromByteArray method work? How did you determine what hex values to use?
Thanks,
Team 7149
The text was updated successfully, but these errors were encountered: