Speeduino
Loading...
Searching...
No Matches
speeduino
table3d_axes.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include <stdint.h>
13
17
enum class
AxisDomain
: uint8_t {
19
Rpm
,
21
Load
,
22
};
23
24
static
constexpr
uint16_t
getConversionFactor
(
AxisDomain
domain)
25
{
26
return
domain==
AxisDomain::Rpm
? 100U : 2U;
27
}
28
AxisDomain
AxisDomain
Encodes the real world measurement that a table axis captures.
Definition
table3d_axes.h:17
getConversionFactor
static constexpr uint16_t getConversionFactor(AxisDomain domain)
Definition
table3d_axes.h:24
AxisDomain::Rpm
@ Rpm
AxisDomain::Load
@ Load
Generated by
1.9.8