include
opw_kinematics
opw_parameters.h
Go to the documentation of this file.
1
#ifndef OPW_PARAMETERS_H
2
#define OPW_PARAMETERS_H
3
4
#include <type_traits>
5
#include <array>
6
7
namespace
opw_kinematics
8
{
9
template
<
typename
T>
10
struct
Parameters
11
{
12
static_assert(std::is_floating_point<T>::value,
"OPW parameters must be templatized with floating point type"
);
13
14
T
a1
,
a2
,
b
,
c1
,
c2
,
c3
,
c4
;
15
std::array<T, 6>
offsets
;
16
std::array<signed char, 6>
sign_corrections
;
17
18
Parameters
()
19
:
a1
{ 0 }
20
,
a2
{ 0 }
21
,
b
{ 0 }
22
,
c1
{ 0 }
23
,
c2
{ 0 }
24
,
c3
{ 0 }
25
,
c4
{ 4 }
26
,
offsets
{ 0, 0, 0, 0, 0, 0 }
27
,
sign_corrections
{ 1, 1, 1, 1, 1, 1 }
28
{
29
}
30
};
31
32
}
// namespace opw_kinematics
33
34
#endif // OPW_PARAMETERS_H
opw_kinematics
Definition:
opw_io.h:7
opw_kinematics::Parameters::a2
T a2
Definition:
opw_parameters.h:14
opw_kinematics::Parameters::c3
T c3
Definition:
opw_parameters.h:14
opw_kinematics::Parameters::c1
T c1
Definition:
opw_parameters.h:14
opw_kinematics::Parameters::offsets
std::array< T, 6 > offsets
Definition:
opw_parameters.h:15
opw_kinematics::Parameters::b
T b
Definition:
opw_parameters.h:14
opw_kinematics::Parameters::sign_corrections
std::array< signed char, 6 > sign_corrections
Definition:
opw_parameters.h:16
opw_kinematics::Parameters::Parameters
Parameters()
Definition:
opw_parameters.h:18
opw_kinematics::Parameters::a1
T a1
Definition:
opw_parameters.h:12
opw_kinematics::Parameters
Definition:
opw_parameters.h:10
opw_kinematics::Parameters::c2
T c2
Definition:
opw_parameters.h:14
opw_kinematics::Parameters::c4
T c4
Definition:
opw_parameters.h:14
opw_kinematics
Author(s): Jon Meyer
, Jeroen De Maeyer
autogenerated on Thu Jan 16 2025 03:40:37