API Documentation
Loading...
Searching...
No Matches
MagneticCalibrationSpreadsheet Class Reference

IOFactory interface for reading and writing data from magnetometer calibration checks to excel files. More...

#include <MagneticCalibrationSpreadsheet.h>

Collaboration diagram for MagneticCalibrationSpreadsheet:
[legend]

Public Member Functions

void setCalibrationMatrix (const Matrix< fltp08 > &calibration_matrix)
 
File writeToFile (const File &template_file, const String &file_prefix, const File &file, const Buffer< XLSXMagneticAngleReading > &readings)
 
Buffer< XLSXMagneticAngleAverageReadingcomputeData (const Buffer< XLSXMagneticAngleReading > &readings)
 
XLSXMagneticAngleAverageReading computeAngle (const Buffer< XLSXMagneticAngleReading > &readings, uint04 start, uint04 end)
 
XLSXKeyPointMagneticAngleReading computeAngle (const XLSXMagneticAngleReading &reading, const Angle< fltp08 > &reference_angle)
 

Protected Attributes

Matrix< fltp08m_calibration_matrix = Constant<Matrix<fltp08>>::NaN
 
fltp08 m_acceleration_tolerance = 0.005
 

Detailed Description

IOFactory interface for reading and writing data from magnetometer calibration checks to excel files.


Class: MagneticCalibrationSpreadsheet

\ingroup Hardware Magnetometer Widget

Member Function Documentation

◆ computeAngle() [1/2]

XLSXMagneticAngleAverageReading computeAngle ( const Buffer< XLSXMagneticAngleReading > & readings,
uint04 start,
uint04 end )

◆ computeAngle() [2/2]

XLSXKeyPointMagneticAngleReading computeAngle ( const XLSXMagneticAngleReading & reading,
const Angle< fltp08 > & reference_angle )

◆ computeData()

◆ setCalibrationMatrix()

void setCalibrationMatrix ( const Matrix< fltp08 > & calibration_matrix)

◆ writeToFile()

File writeToFile ( const File & template_file,
const String & file_prefix,
const File & file,
const Buffer< XLSXMagneticAngleReading > & readings )

Member Data Documentation

◆ m_acceleration_tolerance

fltp08 m_acceleration_tolerance = 0.005
protected

◆ m_calibration_matrix

Matrix<fltp08> m_calibration_matrix = Constant<Matrix<fltp08>>::NaN
protected

The documentation for this class was generated from the following files: