neurogears / vestibular-vr

Closed-loop VR setup for Rancz Lab
2 stars 0 forks source link

Optical flow sensor benchmarks #15

Open RoboDoig opened 1 year ago

RoboDoig commented 1 year ago

Benchmarks for vestibular VR

Triggering LED for testing latency of camera. Film short LED pulse (e.g. 5ms), trigger acquisition and LED from HARP.

Testing the optical flow sensors. Repeated movements with different distances to test accuracy. Need a sensitivity test, slow rotation? For latency, use the brightness channel and flash LED.

Compare with normal mouse.

RoboDoig commented 1 year ago

Commit 14f727fed71dd1011d2da54839e01d9ef413ee17 contains benchmark data and analysis for position tracking accuracy

ederancz commented 1 year ago

Is it possible to read out and display the SQUAL (surface quality) value as well (usually byte6, but it could depend on the sensor)? This is important for us when positioning the sensor relative to the ball.

RoboDoig commented 1 year ago

@ederancz - response from Filipe:

The squal is already available on index 2 and 5 of the register 46, which has this structure: int16_t deltaA_Port0; int16_t deltaB_Port0; int16_t Squal_Port0; int16_t deltaA_Port1; int16_t deltaB_Port1; int16_t Squal_Port1;

ederancz commented 1 year ago

Perfect @RoboDoig, thank you!