Unity SDK  v1.2.0
Loading...
Searching...
No Matches
WeArt.Messages.TrackingMessage Class Reference

Message received from the middleware containing the closure amount of thimbles. More...

Inheritance diagram for WeArt.Messages.TrackingMessage:
[legend]

Public Member Functions

Closure GetClosure (HandSide handSide, ActuationPoint actuationPoint)
 Allows to get the closure value for agiven actuation point on a given hand.
 
Abduction GetAbduction (HandSide handSide, ActuationPoint actuationPoint)
 Allows to get the abduction value for agiven actuation point on a given hand. The presence of this data depends on the type of tracking message received, which depends on the parameters sent to the middleware with the start command. In particular:
 
bool Deserialize (string[] fields)
 
string[] Serialize ()
 
string[] Serialize ()
 
bool Deserialize (string[] fields)
 

Properties

TrackingType TrackingType [get, set]
 

Detailed Description

Message received from the middleware containing the closure amount of thimbles.

Member Function Documentation

◆ Deserialize()

bool WeArt.Messages.TrackingMessage.Deserialize ( string[]  fields)
inline

◆ GetAbduction()

Abduction WeArt.Messages.TrackingMessage.GetAbduction ( HandSide  handSide,
ActuationPoint  actuationPoint 
)
inline

Allows to get the abduction value for agiven actuation point on a given hand. The presence of this data depends on the type of tracking message received, which depends on the parameters sent to the middleware with the start command. In particular:

  • DEFAULT: No abduction values
  • CLAP_HAND: Abduction values for index and middle finger
Parameters
handSideHand from which to select the actuation point
actuationPointActuation point from which to take the closure
Returns
the closure value of the given point and hand

◆ GetClosure()

Closure WeArt.Messages.TrackingMessage.GetClosure ( HandSide  handSide,
ActuationPoint  actuationPoint 
)
inline

Allows to get the closure value for agiven actuation point on a given hand.

Parameters
handSideHand from which to select the actuation point
actuationPointActuation point from which to take the closure
Returns
the closure value of the given point and hand

◆ Serialize()

string[] WeArt.Messages.TrackingMessage.Serialize ( )
inline

Property Documentation

◆ TrackingType

TrackingType WeArt.Messages.TrackingMessage.TrackingType
getset

The documentation for this class was generated from the following file: