summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ftnoir_filter_accela/ftnoir_filter_accela.cpp4
-rw-r--r--ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/ftnoir_filter_accela/ftnoir_filter_accela.cpp b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
index b07290e2..a82ff077 100644
--- a/ftnoir_filter_accela/ftnoir_filter_accela.cpp
+++ b/ftnoir_filter_accela/ftnoir_filter_accela.cpp
@@ -32,7 +32,7 @@ void FTNoIR_Filter::FilterHeadPoseData(const double* target_camera_position,
{
for (int j = 0; j < 3; j++)
last_output[j][i] = target_camera_position[i];
- l.write(target_camera_position, target_camera_position, new_camera_position);
+ l.write(target_camera_position, new_camera_position);
}
first_run = false;
@@ -63,7 +63,7 @@ void FTNoIR_Filter::FilterHeadPoseData(const double* target_camera_position,
}
}
- l.write(target_camera_position, last_output[0], new_camera_position);
+ l.write(last_output[0], new_camera_position);
}
extern "C" FTNOIR_FILTER_BASE_EXPORT IFilter* CALLING_CONVENTION GetConstructor()
diff --git a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp
index d3cb2c32..dcc1475c 100644
--- a/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp
+++ b/ftnoir_filter_ewma2/ftnoir_filter_ewma2.cpp
@@ -71,7 +71,7 @@ void FTNoIR_Filter::FilterHeadPoseData(const double *target_camera_position,
for (int i=0;i<6;i++) {
delta[i] = 0.0;
noise[i] = 0.0;
- l.write(target_camera_position, target_camera_position, new_camera_position);
+ l.write(target_camera_position, new_camera_position);
}
first_run=false;
return;
@@ -100,7 +100,7 @@ void FTNoIR_Filter::FilterHeadPoseData(const double *target_camera_position,
}
}
- l.write(target_camera_position, pos, new_camera_position);
+ l.write(pos, new_camera_position);
}
extern "C" FTNOIR_FILTER_BASE_EXPORT IFilter* CALLING_CONVENTION GetConstructor()