@@ -25,7 +25,7 @@ template <typename derivatives> class AbstractPose
25
25
*
26
26
* This constructor initializes x, y, and orientation to 0
27
27
*/
28
- AbstractPose () : Vector(), orientation(0.0 ) {}
28
+ constexpr AbstractPose () : Vector(), orientation(0.0 ) {}
29
29
30
30
/* *
31
31
* @brief Construct a new Pose object
@@ -34,15 +34,15 @@ template <typename derivatives> class AbstractPose
34
34
*
35
35
* @param v position
36
36
*/
37
- AbstractPose (Vector v) : Vector(v), orientation(0.0 ) {}
37
+ constexpr AbstractPose (Vector v) : Vector(v), orientation(0.0 ) {}
38
38
39
39
/* *
40
40
* @brief Construct a new Pose object
41
41
*
42
42
* @param v position
43
43
* @param orientation orientation
44
44
*/
45
- AbstractPose (Vector v, Divided<Angle, Exponentiated<Time, derivatives>> orientation)
45
+ constexpr AbstractPose (Vector v, Divided<Angle, Exponentiated<Time, derivatives>> orientation)
46
46
: Vector(v), orientation(orientation) {}
47
47
48
48
/* *
@@ -53,7 +53,7 @@ template <typename derivatives> class AbstractPose
53
53
* @param x x position
54
54
* @param y y position
55
55
*/
56
- AbstractPose (Len x, Len y) : Vector(x, y), orientation(0.0 ) {}
56
+ constexpr AbstractPose (Len x, Len y) : Vector(x, y), orientation(0.0 ) {}
57
57
58
58
/* *
59
59
* @brief Construct a new Pose object
@@ -62,7 +62,7 @@ template <typename derivatives> class AbstractPose
62
62
* @param y y position
63
63
* @param orientation orientation
64
64
*/
65
- AbstractPose (Len x, Len y, Divided<Angle, Exponentiated<Time, derivatives>> orientation)
65
+ constexpr AbstractPose (Len x, Len y, Divided<Angle, Exponentiated<Time, derivatives>> orientation)
66
66
: Vector(x, y), orientation(orientation) {}
67
67
};
68
68
0 commit comments