iCub-main
Signals | Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
CalibrationWindow Class Reference

#include <calibrationwindow.h>

+ Inheritance diagram for CalibrationWindow:

Signals

void loading (bool=true)
 
void setText (QLineEdit *, QString text)
 
void setText (QTableWidgetItem *, QString text)
 
void setTableVisible (QTableWidget *, bool)
 
void setOffsetSliderValue (CustomSpinBox *, int value)
 
void setSerialChanged (bool)
 
void setMatrix (int index)
 
void setFullScale ()
 
void resetMatrices (int index=-1)
 
void updateTitle ()
 
void appendLogMsg (QString)
 
void applyDone ()
 

Public Member Functions

 CalibrationWindow (FirmwareUpdaterCore *core, icubCanProto_boardType_t b, CustomTreeWidgetItem *item, QWidget *parent=0)
 
 ~CalibrationWindow ()
 

Protected Member Functions

void closeEvent (QCloseEvent *e)
 
void setCalibBias ()
 
void resetCalibBias ()
 
void setCurrBias ()
 
void resetCurrBias ()
 
void applyParameters ()
 
void autoAdjust ()
 
void setSerial ()
 
void saveToEeprom ()
 
void Clear_Statistics ()
 
void setOffset (int chan, int value)
 
void setCalibration ()
 
void loadCalibrationFile (QString fileName)
 
void saveCalibrationFile (QString filePath)
 
void importCalibrationFile (QString fileName)
 
bool calibration_load_v3 (char *filename, int selected_bus, int selected_id, int index, int regset)
 
void useMatrix (int, bool boot)
 
void resetCalibration ()
 
bool SetDefaultRegulationSet (int regset, bool alsoserialnumber=false)
 
void Clear_AllRegulations ()
 
void Clear_Regulation ()
 
void importCalibrationFileHEX (QString fileName)
 

Static Protected Member Functions

static void logger (void *caller, const std::string &msg)
 

Detailed Description

Definition at line 22 of file calibrationwindow.h.

Constructor & Destructor Documentation

◆ CalibrationWindow()

CalibrationWindow::CalibrationWindow ( FirmwareUpdaterCore core,
icubCanProto_boardType_t  b,
CustomTreeWidgetItem item,
QWidget *  parent = 0 
)
explicit

Definition at line 78 of file calibrationwindow.cpp.

◆ ~CalibrationWindow()

CalibrationWindow::~CalibrationWindow ( )

Definition at line 327 of file calibrationwindow.cpp.

Member Function Documentation

◆ appendLogMsg

void CalibrationWindow::appendLogMsg ( QString  )
signal

◆ applyDone

void CalibrationWindow::applyDone ( )
signal

◆ applyParameters()

void CalibrationWindow::applyParameters ( )
protected

Definition at line 552 of file calibrationwindow.cpp.

◆ autoAdjust()

void CalibrationWindow::autoAdjust ( )
protected

Definition at line 516 of file calibrationwindow.cpp.

◆ calibration_load_v3()

bool CalibrationWindow::calibration_load_v3 ( char *  filename,
int  selected_bus,
int  selected_id,
int  index,
int  regset 
)
protected

Definition at line 1890 of file calibrationwindow.cpp.

◆ Clear_AllRegulations()

void CalibrationWindow::Clear_AllRegulations ( )
protected

Definition at line 623 of file calibrationwindow.cpp.

◆ Clear_Regulation()

void CalibrationWindow::Clear_Regulation ( )
protected

Definition at line 646 of file calibrationwindow.cpp.

◆ Clear_Statistics()

void CalibrationWindow::Clear_Statistics ( )
protected

Definition at line 616 of file calibrationwindow.cpp.

◆ closeEvent()

void CalibrationWindow::closeEvent ( QCloseEvent *  e)
protected

Definition at line 1213 of file calibrationwindow.cpp.

◆ importCalibrationFile()

void CalibrationWindow::importCalibrationFile ( QString  fileName)
protected

Definition at line 952 of file calibrationwindow.cpp.

◆ importCalibrationFileHEX()

void CalibrationWindow::importCalibrationFileHEX ( QString  fileName)
protected

Definition at line 2154 of file calibrationwindow.cpp.

◆ loadCalibrationFile()

void CalibrationWindow::loadCalibrationFile ( QString  fileName)
protected

Definition at line 762 of file calibrationwindow.cpp.

◆ loading

void CalibrationWindow::loading ( bool  = true)
signal

◆ logger()

void CalibrationWindow::logger ( void *  caller,
const std::string &  msg 
)
staticprotected

Definition at line 2267 of file calibrationwindow.cpp.

◆ resetCalibBias()

void CalibrationWindow::resetCalibBias ( )
protected

Definition at line 483 of file calibrationwindow.cpp.

◆ resetCalibration()

void CalibrationWindow::resetCalibration ( )
protected

Definition at line 1281 of file calibrationwindow.cpp.

◆ resetCurrBias()

void CalibrationWindow::resetCurrBias ( )
protected

Definition at line 494 of file calibrationwindow.cpp.

◆ resetMatrices

void CalibrationWindow::resetMatrices ( int  index = -1)
signal

◆ saveCalibrationFile()

void CalibrationWindow::saveCalibrationFile ( QString  filePath)
protected

Definition at line 843 of file calibrationwindow.cpp.

◆ saveToEeprom()

void CalibrationWindow::saveToEeprom ( )
protected

Definition at line 602 of file calibrationwindow.cpp.

◆ setCalibBias()

void CalibrationWindow::setCalibBias ( )
protected

Definition at line 472 of file calibrationwindow.cpp.

◆ setCalibration()

void CalibrationWindow::setCalibration ( )
protected

Definition at line 682 of file calibrationwindow.cpp.

◆ setCurrBias()

void CalibrationWindow::setCurrBias ( )
protected

Definition at line 505 of file calibrationwindow.cpp.

◆ SetDefaultRegulationSet()

bool CalibrationWindow::SetDefaultRegulationSet ( int  regset,
bool  alsoserialnumber = false 
)
protected

Definition at line 2277 of file calibrationwindow.cpp.

◆ setFullScale

void CalibrationWindow::setFullScale ( )
signal

◆ setMatrix

void CalibrationWindow::setMatrix ( int  index)
signal

◆ setOffset()

void CalibrationWindow::setOffset ( int  chan,
int  value 
)
protected

Definition at line 1355 of file calibrationwindow.cpp.

◆ setOffsetSliderValue

void CalibrationWindow::setOffsetSliderValue ( CustomSpinBox ,
int  value 
)
signal

◆ setSerial()

void CalibrationWindow::setSerial ( )
protected

Definition at line 588 of file calibrationwindow.cpp.

◆ setSerialChanged

void CalibrationWindow::setSerialChanged ( bool  )
signal

◆ setTableVisible

void CalibrationWindow::setTableVisible ( QTableWidget *  ,
bool   
)
signal

◆ setText [1/2]

void CalibrationWindow::setText ( QLineEdit *  ,
QString  text 
)
signal

◆ setText [2/2]

void CalibrationWindow::setText ( QTableWidgetItem *  ,
QString  text 
)
signal

◆ updateTitle

void CalibrationWindow::updateTitle ( )
signal

◆ useMatrix()

void CalibrationWindow::useMatrix ( int  index,
bool  boot 
)
protected

Definition at line 1331 of file calibrationwindow.cpp.


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