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 
6 namespace opw_kinematics
7 {
8 
9 template <typename T>
10 struct Parameters
11 {
12  static_assert(std::is_floating_point<T>::value,
13  "OPW parameters must be templatized with floating point type");
14 
15  T a1, a2, b, c1, c2, c3, c4;
16  T offsets[6];
17  signed char sign_corrections[6];
18 
20  : a1{0}, a2{0}, b{0}, c1{0}, c2{0}, c3{0}, c4{4},
21  offsets{0, 0, 0, 0, 0, 0},
22  sign_corrections{1, 1, 1, 1, 1, 1}
23  {}
24 };
25 
26 }
27 
28 #endif // OPW_PARAMETERS_H
signed char sign_corrections[6]


moveit_opw_kinematics_plugin
Author(s): Jeroen De Maeyer, Simon Schmeisser (isys vision)
autogenerated on Wed Jun 3 2020 03:17:14