iCub-main
Macros | Functions
calibrationwindow.cpp File Reference
#include "calibrationwindow.h"
#include "ui_calibrationwindow.h"
#include <qdebug.h>
#include <QLabel>
#include <QHBoxLayout>
#include <QtConcurrent/QtConcurrent>
#include <QFileDialog>
#include <QMessageBox>
#include <strain.h>
+ Include dependency graph for calibrationwindow.cpp:

Go to the source code of this file.

Macros

#define CHANNEL_COUNT   6
 
#define HEX_VALC   0x8000
 
#define RANGE32K   32768
 
#define COL_CURRMEASURE   0
 
#define COL_GAIN   0
 
#define COL_OFFSET   1
 
#define COL_TARGET   2
 
#define COL_REGISTERS   3
 
#define COL_CALIBBIAS   0
 
#define COL_FULLSCALE   0
 
#define COL_MAXMEASURE   0
 
#define COL_MINMEASURE   1
 
#define COL_DIFFMEASURE   2
 
#define COL_NEWTONMEASURE   3
 
#define MATRIX_COUNT   1
 

Functions

int convert_to_signed32k (unsigned int v)
 
int showasQ15 (int v)
 
int showBias (unsigned int v)
 
unsigned int q15_from (int v)
 

Macro Definition Documentation

◆ CHANNEL_COUNT

#define CHANNEL_COUNT   6

Definition at line 11 of file calibrationwindow.cpp.

◆ COL_CALIBBIAS

#define COL_CALIBBIAS   0

Definition at line 22 of file calibrationwindow.cpp.

◆ COL_CURRMEASURE

#define COL_CURRMEASURE   0

Definition at line 15 of file calibrationwindow.cpp.

◆ COL_DIFFMEASURE

#define COL_DIFFMEASURE   2

Definition at line 28 of file calibrationwindow.cpp.

◆ COL_FULLSCALE

#define COL_FULLSCALE   0

Definition at line 24 of file calibrationwindow.cpp.

◆ COL_GAIN

#define COL_GAIN   0

Definition at line 17 of file calibrationwindow.cpp.

◆ COL_MAXMEASURE

#define COL_MAXMEASURE   0

Definition at line 26 of file calibrationwindow.cpp.

◆ COL_MINMEASURE

#define COL_MINMEASURE   1

Definition at line 27 of file calibrationwindow.cpp.

◆ COL_NEWTONMEASURE

#define COL_NEWTONMEASURE   3

Definition at line 29 of file calibrationwindow.cpp.

◆ COL_OFFSET

#define COL_OFFSET   1

Definition at line 18 of file calibrationwindow.cpp.

◆ COL_REGISTERS

#define COL_REGISTERS   3

Definition at line 20 of file calibrationwindow.cpp.

◆ COL_TARGET

#define COL_TARGET   2

Definition at line 19 of file calibrationwindow.cpp.

◆ HEX_VALC

#define HEX_VALC   0x8000

Definition at line 12 of file calibrationwindow.cpp.

◆ MATRIX_COUNT

#define MATRIX_COUNT   1

Definition at line 31 of file calibrationwindow.cpp.

◆ RANGE32K

#define RANGE32K   32768

Definition at line 13 of file calibrationwindow.cpp.

Function Documentation

◆ convert_to_signed32k()

int convert_to_signed32k ( unsigned int  v)

Definition at line 36 of file calibrationwindow.cpp.

◆ q15_from()

unsigned int q15_from ( int  v)

Definition at line 57 of file calibrationwindow.cpp.

◆ showasQ15()

int showasQ15 ( int  v)

Definition at line 41 of file calibrationwindow.cpp.

◆ showBias()

int showBias ( unsigned int  v)

Definition at line 47 of file calibrationwindow.cpp.