Lines Matching refs:cal_file
99 std::shared_ptr<CalibrationFile> cal_file = CalibrationFile::Instance(); in GetCalibrationBytes() local
100 if (!cal_file) { in GetCalibrationBytes()
103 auto json = cal_file->GetJSONObject(); in GetCalibrationBytes()
308 auto cal_file = CalibrationFile::Instance(); in SetCalibration() local
310 if (cal_file && key) { in SetCalibration()
311 return cal_file->SetSingleAxis(key, data); in SetCalibration()
320 auto cal_file = CalibrationFile::Instance(); in SetCalibration() local
322 if (cal_file && key) { in SetCalibration()
323 return cal_file->SetSingleAxis(key, data); in SetCalibration()
332 auto cal_file = CalibrationFile::Instance(); in SetCalibration() local
334 if (cal_file && key) { in SetCalibration()
335 return cal_file->SetTripleAxis(key, x, y, z); in SetCalibration()
344 auto cal_file = CalibrationFile::Instance(); in SetCalibration() local
346 if (cal_file && key) { in SetCalibration()
347 return cal_file->SetFourAxis(key, x, y, z, w); in SetCalibration()
354 auto cal_file = CalibrationFile::Instance(); in SaveCalibration() local
355 if (cal_file) { in SaveCalibration()
356 return cal_file->Save(); in SaveCalibration()