diff options
author | Justin Berger <j.david.berger@gmail.com> | 2018-04-05 06:56:57 -0600 |
---|---|---|
committer | Justin Berger <j.david.berger@gmail.com> | 2018-04-05 06:56:57 -0600 |
commit | 4b045e61ed6f3812cbf273ae279bfd7bc1ce029c (patch) | |
tree | e16ab505bfccc638f0ff288a8cca8c226a597767 /tools/showreproject/showreproject.cc | |
parent | d6d310fdd13c11382f37faca6a0c20b361ae9c40 (diff) | |
parent | f765f0e85cbd1bd00c7f5a18d6e7a4ada0db5918 (diff) | |
download | libsurvive-4b045e61ed6f3812cbf273ae279bfd7bc1ce029c.tar.gz libsurvive-4b045e61ed6f3812cbf273ae279bfd7bc1ce029c.tar.bz2 |
Merge branch 'master' into simple_api
Diffstat (limited to 'tools/showreproject/showreproject.cc')
-rw-r--r-- | tools/showreproject/showreproject.cc | 4 |
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); |