Shared-Reality-Lab / IMAGE-HAPI

This repository contains both the java and JS/TS versions of the HAPI (Haply's API)
0 stars 0 forks source link

Test serial communication using HAPI js port #2

Closed sriGanna closed 3 years ago

sriGanna commented 3 years ago

test the communication of force/torque information to haply. Making sure to check that the data is being received by the Haply and that the haptic loop can be maintained

sriGanna commented 3 years ago

tested using both Web serial API and p5.serialcontrol.js. Communication is possible through both standards but p5.serialcontrol doesn't seem to be possible in a web worker since it required p5. Since the worker is required to maintain a haptic loop we might not be able to use p5.serialcontrol.

As for communication of torque/force info it doesn't seem like this information is being received by the Haply so we are using the unit tests mention in issue #3 to debug

sriGanna commented 3 years ago

Serial communication seems to be working fairly reliably. There is still a flickering issue (Issue #16 ).