2#include <NDEVR/Vector.h>
void setSimulator(MadgwickSimulator *simulator)
Sets the simulator whose data will be charted.
MadgwickSimulator * m_simulator
The active Madgwick simulator instance.
fltp08 m_chart_offset_time
Time offset for chart data alignment.
void onTimerUpdatedSlot()
Slot called on timer update to refresh chart data.
void reset()
Resets all chart data to initial state.
QTModelManager * m_manager
The application model manager.
Vector< 3, NDEVRChartModel * > m_acc_chart_models
Chart models for accelerometer X, Y, Z.
Vector< 3, NDEVRChartModel * > m_abs_chart_models
Chart models for absolute orientation X, Y, Z.
QTimer * m_update_timer
Timer for periodic chart updates.
Vector< 3, NDEVRChartModel * > m_gyro_chart_models
Chart models for gyroscope X, Y, Z.
void initCharts(Vector< 3, fltp08 > accel_bias, Vector< 3, fltp08 > gyro_bias)
Initializes chart models with the given sensor biases.
MadgwickSimulatorCharts(QTModelManager *manager)
Constructs MadgwickSimulatorCharts with a model manager.
A simulated device that generates IMU data and runs a Madgwick orientation filter to test and visuali...
A Model subclass that provides charting and data visualization capabilities.
A wrapper around DesignObjectLookup that provides signal and slot functionality and adds rendering ca...
A fixed-size array with N dimensions used as the basis for geometric and mathematical types.
The primary namespace for the NDEVR SDK.
double fltp08
Defines an alias representing an 8 byte floating-point number.