flexivrobotics / flexiv_rdk

RDK (robotic development kit) for Flexiv robots. Supports C++ and Python. Compatible with Linux, macOS, and Windows.
Apache License 2.0
58 stars 18 forks source link

[FEATURE] synchronous reading of multiple control box digital inputs #27

Closed conhugh closed 8 months ago

conhugh commented 1 year ago

Is your feature request related to a problem? Please describe. Some users have external devices connected to multiple digital input pins on the control box, which they are hoping to read in real-time at 1kHz using RDK. However, users cannot read from multiple GPIOs in a single call, they must be read sequentially, and this does not happen fast enough to keep up with 1kHz loop.

Describe the solution you'd like Would like to be able to read from all the control box GPIO pins in a single call, at 1kHz.

Describe alternatives you've considered If the sequential reading of GPIO pins could be made faster, perhaps this could also allow for reading all the pins within a 1kHz cycle, but it would still be preferable to read all pins synchronously for applications where precise data synchronization is important.

Additional context N/A.

pzhu-flexiv commented 1 year ago

Will be added in RDK v0.9