Adjuvo / SenseGlove-API

Sense Glove API for native C++ development
https://senseglove.gitlab.io/SenseGloveDocs/native/core-api-intro.html
MIT License
15 stars 11 forks source link

Make sensecom generate fake senseglove input in the absense of a connection kit or senseglove? #15

Open revanj opened 2 years ago

revanj commented 2 years ago

Without a connection kit or a senseglove, is it possible to make sensecom output default senseglove input? Would it be possible to record sensecom output and "spoof" whatever is listening for them?

Thanks!

MaxLammers commented 2 years ago

Hi Revanj,

Unfortunately, it is not possible to do so with SenseCom at the moment, although that does sound like a useful addition to the API. We have been bouncing around the idea of adding an option for such "virtual gloves", but they don't have a high priority or solid implementation strategy yet.

We do, however, have the option to Serialize / Deserialize most of our Data Classes (SG_SensorData, SG_GlovePose, SG_GloveInfo and HandPose, among others), allowing you to record SenseGlove data in one application, and "unpack" it later and/or inside another application. This would be useful if you're trying to validate code, but you won't access it in the usual manner (via a SenseGlove instance), making it less suitable for integration testing.