Skip to content

SenseGlove Class Reference

Max Lammers edited this page Dec 23, 2020 · 3 revisions

(WIP) This guide deals with the SenseGlove class that is used by our Core API. It extends off the HapticGlove Class.

  • All functions prefixed with 'Calculate' ( Calculate HandPose(...), Calculate GloveLocation(...) ) are static functions, and are the main worker functions of the SenseGlove class.
  • All functions prefixed with 'Get' ( Get HandPose(...), Get Sensordata(...) ) will update one or more of its input variables to the device's latest data. They make use of the 'Calculate' functions to do so. These functions will return true if all succeeded, and will return false if the device is not connected, or if some data was missing. If you create a new instance of a SenseGlove class yourself, without using one of the static GetSenseGlove(s) functions, these 'Get' functions will always return false.