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

A widget that allows the user to interact with an IMUCalibrator object and perform an IMU calibration. More...

#include <CalibratorWidget.h>

Inheritance diagram for CalibratorWidget:
[legend]
Collaboration diagram for CalibratorWidget:
[legend]

Public Member Functions

 CalibratorWidget (IMUCalibrator *calibrator, QWidget *parent=nullptr)
 
 CalibratorWidget (QWidget *parent=nullptr)
 
void cancelCalibration ()
 
void saveCalibration ()
 
void saveToLocation ()
 
void setCalibrator (IMUCalibrator *calibrator)
 
void startCalibration ()
 

Static Public Member Functions

static FileFormat CalibrationTemplateFormat ()
 

Protected Slots

void onUpdatedSlot ()
 

Protected Member Functions

void init ()
 

Protected Attributes

IMUCalibratorm_calibrator
 
FileChooserDialogm_file_dialog = nullptr
 
bool m_is_calibrating = false
 
ProgressWidgetm_progress_widget
 
Buttonm_save_as_button = nullptr
 
Buttonm_save_button = nullptr
 
Buttonm_start_button = nullptr
 

Detailed Description

A widget that allows the user to interact with an IMUCalibrator object and perform an IMU calibration.


Constructor & Destructor Documentation

◆ CalibratorWidget() [1/2]

CalibratorWidget ( QWidget * parent = nullptr)

◆ CalibratorWidget() [2/2]

CalibratorWidget ( IMUCalibrator * calibrator,
QWidget * parent = nullptr )

Member Function Documentation

◆ CalibrationTemplateFormat()

static FileFormat CalibrationTemplateFormat ( )
static

◆ cancelCalibration()

void cancelCalibration ( )

◆ init()

void init ( )
protected

◆ onUpdatedSlot

void onUpdatedSlot ( )
protectedslot

◆ saveCalibration()

void saveCalibration ( )

◆ saveToLocation()

void saveToLocation ( )

◆ setCalibrator()

void setCalibrator ( IMUCalibrator * calibrator)

◆ startCalibration()

void startCalibration ( )

Member Data Documentation

◆ m_calibrator

IMUCalibrator* m_calibrator
protected

◆ m_file_dialog

FileChooserDialog* m_file_dialog = nullptr
protected

◆ m_is_calibrating

bool m_is_calibrating = false
protected

◆ m_progress_widget

ProgressWidget* m_progress_widget
protected

◆ m_save_as_button

Button* m_save_as_button = nullptr
protected

◆ m_save_button

Button* m_save_button = nullptr
protected

◆ m_start_button

Button* m_start_button = nullptr
protected

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