summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hydra
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-10-16 23:44:58 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-10-17 03:16:11 +0200
commita8a8cfac5f1be7e0cbfadcc2def8aaa0e8d9d9a0 (patch)
treebdbd4ca204fec2009a003d7f9e140706afe38446 /ftnoir_tracker_hydra
parent3e71e6218557bf14220a23d5afb772c170545cb4 (diff)
all except 3rdparty-maintained stuff pass -Wall -Wextra -pedantic
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'ftnoir_tracker_hydra')
-rw-r--r--ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp5
-rw-r--r--ftnoir_tracker_hydra/ftnoir_tracker_hydra.h8
-rw-r--r--ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp2
3 files changed, 6 insertions, 9 deletions
diff --git a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp
index 7333fbc4..86ca8888 100644
--- a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp
+++ b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.cpp
@@ -48,7 +48,7 @@ void controller_manager_setup_callback( sixenseUtils::ControllerManager::setup_s
}
}*/
-void Hydra_Tracker::StartTracker(QFrame* videoFrame)
+void Hydra_Tracker::StartTracker(QFrame*)
{
//QMessageBox::warning(0,"FaceTrackNoIR Notification", "Tracking loading settings...",QMessageBox::Ok,QMessageBox::NoButton);
loadSettings();
@@ -78,9 +78,6 @@ bool Hydra_Tracker::GiveHeadPoseData(double *data)
//Rotation quat = Rotation(acd.controllers[0].rot_quat[1],acd.controllers[0].rot_quat[2],acd.controllers[0].rot_quat[3],acd.controllers[0].rot_quat[0]);
sixenseMath::Matrix4 mat = sixenseMath::Matrix4(acd.controllers[0].rot_mat);// sixenseMath::Quat(acd.controllers[0].rot_quat[1],acd.controllers[0].rot_quat[2],acd.controllers[0].rot_quat[3],acd.controllers[0].rot_quat[0]);
- double yaw = 0.0f;
- double pitch = 0.0f;
- double roll = 0.0f;
float ypr[3];
mat.getEulerAngles().fill(ypr);
diff --git a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
index 82a72f56..19f2a685 100644
--- a/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
+++ b/ftnoir_tracker_hydra/ftnoir_tracker_hydra.h
@@ -11,7 +11,7 @@ public:
Hydra_Tracker();
~Hydra_Tracker();
- void StartTracker( QFrame *videoframe );
+ void StartTracker(QFrame *);
bool GiveHeadPoseData(double *data);
void loadSettings();
volatile bool should_quit;
@@ -44,11 +44,11 @@ public:
explicit TrackerControls();
~TrackerControls();
- void showEvent ( QShowEvent * event );
+ void showEvent (QShowEvent *);
void Initialize(QWidget *parent);
- void registerTracker(ITracker *tracker) {};
- void unRegisterTracker() {};
+ void registerTracker(ITracker *) {}
+ void unRegisterTracker() {}
private:
Ui::UIHydraControls ui;
diff --git a/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp b/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp
index 913f8070..165f8573 100644
--- a/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp
+++ b/ftnoir_tracker_hydra/ftnoir_tracker_hydra_dialog.cpp
@@ -81,7 +81,7 @@ void TrackerControls::doOK() {
}
// override show event
-void TrackerControls::showEvent ( QShowEvent * event ) {
+void TrackerControls::showEvent ( QShowEvent * ) {
loadSettings();
}