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