feat(imu): imu2.0 decond part complete.
This commit is contained in:
@@ -347,7 +347,12 @@ class MYNTEYE_API API {
|
||||
std::vector<api::MotionData> GetMotionDatas();
|
||||
|
||||
/**
|
||||
* Enable motion datas with timestamp correspondence of some stream.
|
||||
* enable motion datas timestamp correspondence in device.
|
||||
*/
|
||||
void EnableImuTimestampCorrespondence(bool is_enable);
|
||||
|
||||
/**
|
||||
* Enable motion datas with timestamp correspondence of some stream in api.
|
||||
*/
|
||||
void EnableTimestampCorrespondence(const Stream &stream,
|
||||
bool keep_accel_then_gyro = true);
|
||||
@@ -385,6 +390,9 @@ class MYNTEYE_API API {
|
||||
|
||||
motion_callback_t callback_;
|
||||
|
||||
bool api_correspondence_enable_;
|
||||
bool dev_correspondence_enable_;
|
||||
|
||||
void CheckImageParams();
|
||||
};
|
||||
|
||||
|
||||
@@ -290,6 +290,10 @@ class MYNTEYE_API Device {
|
||||
* Enable cache motion datas.
|
||||
*/
|
||||
void EnableMotionDatas();
|
||||
/**
|
||||
* Enable motion datas timestamp correspondence.
|
||||
*/
|
||||
void EnableImuCorrespondence(bool is_enable);
|
||||
/**
|
||||
* Enable cache motion datas.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user