summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hydra
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-22 19:01:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-22 19:01:28 +0200
commitf495b0136faf48d397138272eed683ade26187c9 (patch)
treeec171bcc93829ee74b034667b65667b4adc2828b /ftnoir_tracker_hydra
parent69236c0317a30bf100ec4f3d0f8e58fdc565a34b (diff)
const constexpr -> constexpr
Diffstat (limited to 'ftnoir_tracker_hydra')
-rw-r--r--ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp
index a28bd398..03c756f9 100644
--- a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp
+++ b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp
@@ -39,7 +39,7 @@ void Hydra_Tracker::GetHeadPoseData(double *data)
data[TX] = acd.controllers[0].pos[0]/50.0;
data[TY] = acd.controllers[0].pos[1]/50.0;
data[TZ] = acd.controllers[0].pos[2]/50.0;
- constexpr double r2d = 57.295781;
+ static constexpr double r2d = 57.295781;
data[Yaw] = ypr[0] * r2d;
data[Pitch] = ypr[1] * r2d;
data[Roll] = ypr[2] * r2d;