diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-29 09:21:41 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-29 09:41:23 +0100 |
commit | 33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 (patch) | |
tree | 7deb1be34f9d7ecfca3bd22da6bf722ee19b5f4f /tracker-hydra | |
parent | 29bf7f94eab413e25914c3939d7ff19ef0cd4c48 (diff) |
static constexpr -> constexpr
Diffstat (limited to 'tracker-hydra')
-rw-r--r-- | tracker-hydra/ftnoir_tracker_hydra.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-hydra/ftnoir_tracker_hydra.cpp b/tracker-hydra/ftnoir_tracker_hydra.cpp index 9c0d85f8..d1e2fb36 100644 --- a/tracker-hydra/ftnoir_tracker_hydra.cpp +++ b/tracker-hydra/ftnoir_tracker_hydra.cpp @@ -52,7 +52,7 @@ void Hydra_Tracker::data(double *data) data[TX] = double(acd.controllers[0].pos[0])/50; data[TY] = double(acd.controllers[0].pos[1])/50; data[TZ] = double(acd.controllers[0].pos[2])/50; - static constexpr double r2d = 180/M_PI; + constexpr double r2d = 180/M_PI; data[Yaw] = double(ypr[0]) * r2d; data[Pitch] = double(ypr[1]) * r2d; data[Roll] = double(ypr[2]) * r2d; |