Low-Level C++ SDK  v1.3.0
Loading...
Searching...
No Matches
WeArtThimbleTrackingObject.h
Go to the documentation of this file.
1
5#pragma once
6
7#include "WeArtCommon.h"
8#include "WeArtMessages.h"
10
13public:
15
17 void OnMessageReceived(WeArtMessage* msg) override;
18
21 float GetClosure() const {
22 return _closure;
23 }
24
27 float GetAbduction() const {
28 return _abduction;
29 }
30protected:
32 ActuationPoint actuationPoint;
33
34 float _closure;
36};
37
HandSide
Definition: WeArtCommon.h:17
Message Listener basic interface.
Definition: WeArtMessageListener.h:9
Object used to track a single thimble object and its closure value.
Definition: WeArtThimbleTrackingObject.h:12
float GetClosure() const
Get last received thimble closure.
Definition: WeArtThimbleTrackingObject.h:21
void OnMessageReceived(WeArtMessage *msg) override
Callback called when an accepted message is received.
Definition: WeArtThimbleTrackingObject.cpp:16
float GetAbduction() const
Get last received thimble abduction.
Definition: WeArtThimbleTrackingObject.h:27
HandSide handSide
Definition: WeArtThimbleTrackingObject.h:31
float _closure
Definition: WeArtThimbleTrackingObject.h:34
ActuationPoint actuationPoint
Definition: WeArtThimbleTrackingObject.h:32
float _abduction
Definition: WeArtThimbleTrackingObject.h:35