Skip to content

Commit

Permalink
Merge pull request #3228 from ev-mp/current
Browse files Browse the repository at this point in the history
Fix calibration table initialization
  • Loading branch information
dorodnic authored Feb 7, 2019
2 parents 7b0b2b8 + 7398ae4 commit 3c5e2bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ds5/ds5-motion.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ namespace librealsense
public:
dm_v2_imu_calib_parser(const std::vector<uint8_t>& raw_data, bool valid = true)
{
calib_table.module_info.dm_v2_calib_table.extrinsic_valid = 0;
calib_table.module_info.dm_v2_calib_table.intrinsic_valid = 0;
// default parser to be applied when no FW calibration is available
if (valid)
calib_table = *(ds::check_calib<ds::dm_v2_eeprom>(raw_data));
Expand Down

0 comments on commit 3c5e2bb

Please sign in to comment.