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

Unit tests for communication with Haply #3

Closed sriGanna closed 3 years ago

sriGanna commented 3 years ago

One-shot signal test (data type check) Stream sending test (e.g., 1000 signals of “down, down, down, ….” and observe Haply’s 1 s work.) Inspecting device_write_torque() function

sriGanna commented 3 years ago

Tried a one-shot with Arduino using a simple application, the data is being sent as a character array. Need to compare with how the data is being sent from the processing equivalent to see the exact format of the array. see issue #4 for specific investigation into this

sriGanna commented 3 years ago

Bare-bones communication pipeline is running but we need to now test that : 1) that the format of the data being sent through transmitting is decoded correctly on the Arduino 2) the data being sent from the Arduino is being interpreted correctly in the JS app are all consistently working