refactor(channels): sepreate bytes and file channel

This commit is contained in:
John Zhao
2019-01-05 20:02:08 +08:00
parent ca51d2cf94
commit e539cb9fe0
21 changed files with 940 additions and 624 deletions

View File

@@ -232,7 +232,9 @@ void DeviceWriter::SaveAllInfos(const std::string &dir) {
auto &&m_in = device_->GetMotionIntrinsics();
SaveImuParams(
{
false, m_in.accel, m_in.gyro,
false,
device_->GetInfo()->spec_version.to_string(),
m_in.accel, m_in.gyro,
device_->GetMotionExtrinsics(Stream::LEFT),
},
dir + MYNTEYE_OS_SEP "imu.params");

View File

@@ -20,7 +20,7 @@
#include <string>
#include "mynteye/mynteye.h"
#include "mynteye/device/channels/channels.h"
#include "mynteye/device/channel/channels.h"
#include "mynteye/device/types.h"
MYNTEYE_BEGIN_NAMESPACE