feat(api): add timestamp correspondence
This commit is contained in:
@@ -30,6 +30,7 @@ MYNTEYE_BEGIN_NAMESPACE
|
||||
|
||||
struct DeviceInfo;
|
||||
|
||||
class Correspondence;
|
||||
class Device;
|
||||
class Synthetic;
|
||||
|
||||
@@ -305,6 +306,11 @@ class MYNTEYE_API API {
|
||||
*/
|
||||
std::vector<api::MotionData> GetMotionDatas();
|
||||
|
||||
/**
|
||||
* Enable motion datas with timestamp correspondence of some stream.
|
||||
*/
|
||||
void EnableTimestampCorrespondence(const Stream &stream);
|
||||
|
||||
/**
|
||||
* Enable the plugin.
|
||||
*/
|
||||
@@ -317,6 +323,10 @@ class MYNTEYE_API API {
|
||||
|
||||
std::unique_ptr<Synthetic> synthetic_;
|
||||
|
||||
std::unique_ptr<Correspondence> correspondence_;
|
||||
|
||||
motion_callback_t callback_;
|
||||
|
||||
void CheckImageParams();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user