aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2018-04-04 21:07:02 -0600
committerJustin Berger <j.david.berger@gmail.com>2018-04-04 21:15:54 -0600
commit48f791f98d9eda5948de4ef6930d0530b7ca633e (patch)
tree12f41f08ca4383140a2d84955ae9849584955c1c /tools
parenta2514e88dc6945a1cc817c09d251378bd924488e (diff)
downloadlibsurvive-48f791f98d9eda5948de4ef6930d0530b7ca633e.tar.gz
libsurvive-48f791f98d9eda5948de4ef6930d0530b7ca633e.tar.bz2
Added kalman to imu
Diffstat (limited to 'tools')
-rw-r--r--tools/showreproject/showreproject.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/showreproject/showreproject.cc b/tools/showreproject/showreproject.cc
index 8cde992..98dd5f0 100644
--- a/tools/showreproject/showreproject.cc
+++ b/tools/showreproject/showreproject.cc
@@ -134,7 +134,7 @@ void light_process(SurviveObject *so, int sensor_id, int acode, int timeinsweep,
SurvivePose lastPose = {};
-void raw_pose_process(SurviveObject *so, uint8_t lighthouse, SurvivePose *pose) {
+void raw_pose_process(SurviveObject *so, uint32_t lighthouse, SurvivePose *pose) {
survive_default_raw_pose_process(so, lighthouse, pose);
auto d = dist3d(lastPose.Pos, pose->Pos);
// std::cerr << d << std::endl;
@@ -151,7 +151,7 @@ void lighthouse_process(SurviveContext *ctx, uint8_t lighthouse, SurvivePose *po
SurviveContext *create(int argc, char **argv) {
auto ctx = survive_init(argc, argv);
- survive_install_raw_pose_fn(ctx, raw_pose_process);
+ survive_install_pose_fn(ctx, raw_pose_process);
survive_install_lighthouse_pose_fn(ctx, lighthouse_process);
survive_install_light_fn(ctx, light_process);