trikRuntime
gyroscopeIndicator.cpp File Reference
#include "gyroscopeIndicator.h"
#include <QString>
#include <QPainter>
#include <trikControl/gyroSensorInterface.h>
Include dependency graph for gyroscopeIndicator.cpp:

Functions

template<typename T >
constrain (T value, T max, T min)
 

Variables

static constexpr int MAX_GYROSCOPE_VAL = 100000
 
static constexpr int ARC_DRAWING_CONST = 16
 

Function Documentation

template<typename T >
T constrain ( value,
max,
min 
)

Variable Documentation

constexpr int ARC_DRAWING_CONST = 16
static
constexpr int MAX_GYROSCOPE_VAL = 100000
static