Adjuvo / SenseGlove-API

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

Function Vector Range Exception #10

Closed mistercherryy closed 3 years ago

mistercherryy commented 3 years ago

Hello @MaxLammers ,

like in the pictures below i receive runtime library error because of CalculateFingerTips(handprofile) function in SenseGloveCpp.cpp from examples file. The functions triggers a breakpoint and throws an exception. Getting sensor data or serialization works fine but due to this error i cannot get the fingertip positions. Do you have any suggestions to solve this problem?

Regards error together error2

MaxLammers commented 3 years ago

Dear @mistercherryy, thanks for bringing this to our attention.

Found a bug in the back-end where fingerThimbleOffsets (used to calculate fingertip location) were lost, resetting to a vector with length 0, which was causing the error. Fixed in the latest update, v1.3.1