2#include <NDEVR/Device.h>
3#include <NDEVR/Matrix.h>
4#include <NDEVR/Buffer.h>
5#include <NDEVR/INIInterface.h>
6#include <NDEVR/TranslatedString.h>
32 , e_rotate_to_position
39 bool isActive()
const;
40 virtual fltp04 percent()
const;
41 Status status()
const;
42 void setSamplesToCollect(
uint04 samples);
43 Time calibrationTime()
const;
49 virtual String iconID()
const;
51 bool canCalibrate()
const;
54 void startCalibration();
55 void cancelCalibration();
57 virtual void getINI(
INIFactory& factory)
override;
60 virtual void finishCalibration();
77 Status m_state = Status::e_idle;
79 bool m_is_moving =
false;
80 bool m_is_in_norm =
false;
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition IMUCalibrator.h:27
Buffer< CalibrationPosition > m_calibration_positions
Definition IMUCalibrator.h:68
void setMaxRotationThreshold(const Ray< 3, fltp08 > &rotation_threshold)
Definition IMUCalibrator.h:45
const Buffer< CalibrationPosition > & calibrationPositions() const
Definition IMUCalibrator.h:53
uint04 stepIndex() const
Definition IMUCalibrator.h:61
void setMaxNormalDeviation(const Ray< 3, fltp08 > &dev)
Definition IMUCalibrator.h:46
Buffer< std::pair< Time, Ray< 3, fltp08 > > > m_collected_gyro_data
Definition IMUCalibrator.h:67
void stepFinishedSignal()
Definition INIReader.h:57
Definition INIInterface.h:40
Definition Matrix.hpp:173
Definition Vertex.hpp:341
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:54
Definition TranslatedString.h:9
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
A vertex.
Definition Vertex.hpp:54
float fltp04
Defines an alias representing a 4 byte floating-point number.
Definition BaseValues.hpp:157
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
Definition IMUCalibrator.h:11
String location_icon
Definition IMUCalibrator.h:20
Ray< 3, fltp08 > gravity
Definition IMUCalibrator.h:17
Buffer< std::pair< Time, Ray< 3, fltp08 > > > acc_data
Definition IMUCalibrator.h:18
void clearData()
Definition IMUCalibrator.h:21
CalibrationPosition(const TranslatedString &location_title, const String &image, const Ray< 3, fltp08 > &gravity)
Definition IMUCalibrator.h:12
TranslatedString location_title
Definition IMUCalibrator.h:19
Definition BaseValues.hpp:272