feat(api): add timestamp correspondence

This commit is contained in:
John Zhao
2019-02-21 22:37:55 +08:00
parent c6aa8d93ca
commit 73cca48f57
7 changed files with 245 additions and 8 deletions

View File

@@ -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();
};