42 ActuationPoint actuationPoint;
44 const unsigned int K_NUM_SAMPLES = 3;
45 std::queue<Sample> samples;
46 std::vector<std::function<void(
Sample)>> callbacks;
HandSide
Definition: WeArtCommon.h:17
Message Listener basic interface.
Definition: WeArtMessageListener.h:9
Object used to track the raw sensors data for a single thimble.
Definition: WeArtTrackingRawData.h:13
void OnMessageReceived(WeArtMessage *msg) override
Callback called when an accepted message is received.
Definition: WeArtTrackingRawData.cpp:26
void AddSampleCallback(std::function< void(Sample)> callback)
Adds a callback called whenever a new sample is received.
Definition: WeArtTrackingRawData.cpp:22
Sample GetLastSample()
Get the last sample received.
Definition: WeArtTrackingRawData.cpp:16
Definition: WeArtCommon.h:123
Sensor data sample.
Definition: WeArtTrackingRawData.h:22
SensorData data
Sampled sensor data.
Definition: WeArtTrackingRawData.h:26
std::uint64_t timestamp
Timestamp when the sample was created (in milliseconds unix epoch time)
Definition: WeArtTrackingRawData.h:24