Object used to track the raw sensors data for a single thimble.
More...
#include <WeArtTrackingRawData.h>
Object used to track the raw sensors data for a single thimble.
WEART - Raw Sensor Data thimble TD https://www.weart.it/
◆ WeArtTrackingRawData()
WeArtTrackingRawData::WeArtTrackingRawData |
( |
HandSide |
side, |
|
|
ActuationPoint |
actuation |
|
) |
| |
Create a WeArtTrackingRawData tracking object.
- Parameters
-
handSide | Hand side from which to take the sensor data |
actuationPoint | Thimble from which to take the sensor data |
WEART - Raw Sensor Data thimble TD https://www.weart.it/
◆ AddSampleCallback()
void WeArtTrackingRawData::AddSampleCallback |
( |
std::function< void(Sample)> |
callback | ) |
|
Adds a callback called whenever a new sample is received.
- Parameters
-
callback | Callback called when a sample is received |
◆ GetLastSample()
Get the last sample received.
- Returns
- the last sample received
◆ OnMessageReceived()
void WeArtTrackingRawData::OnMessageReceived |
( |
WeArtMessage * |
msg | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: