Don't save imu's frame id in dataset
This commit is contained in:
parent
94053b8e35
commit
a7750e8217
|
@ -102,7 +102,7 @@ Dataset::writer_t Dataset::GetStreamWriter(const Stream &stream) {
|
||||||
|
|
||||||
files::mkdir(writer->outdir);
|
files::mkdir(writer->outdir);
|
||||||
writer->ofs.open(writer->outfile, std::ofstream::out);
|
writer->ofs.open(writer->outfile, std::ofstream::out);
|
||||||
writer->ofs << "seq, frame_id, timestamp, exposure_time" << std::endl;
|
writer->ofs << "seq, timestamp, exposure_time" << std::endl;
|
||||||
writer->ofs << FULL_PRECISION;
|
writer->ofs << FULL_PRECISION;
|
||||||
|
|
||||||
stream_writers_[stream] = writer;
|
stream_writers_[stream] = writer;
|
||||||
|
@ -119,7 +119,7 @@ Dataset::writer_t Dataset::GetMotionWriter() {
|
||||||
|
|
||||||
files::mkdir(writer->outdir);
|
files::mkdir(writer->outdir);
|
||||||
writer->ofs.open(writer->outfile, std::ofstream::out);
|
writer->ofs.open(writer->outfile, std::ofstream::out);
|
||||||
writer->ofs << "seq, frame_id, timestamp, accel_x, accel_y, accel_z, "
|
writer->ofs << "seq, timestamp, accel_x, accel_y, accel_z, "
|
||||||
"gyro_x, gyro_y, gyro_z, temperature"
|
"gyro_x, gyro_y, gyro_z, temperature"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
writer->ofs << FULL_PRECISION;
|
writer->ofs << FULL_PRECISION;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user