summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hydra
diff options
context:
space:
mode:
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;