From 7fadeeff29074520224be385ecd6c50271a07220 Mon Sep 17 00:00:00 2001 From: Justin Berger Date: Sun, 11 Mar 2018 23:31:47 -0600 Subject: FLT* -> SurvivePose* --- test.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test.c') diff --git a/test.c b/test.c index ef7ae45..bc9677a 100644 --- a/test.c +++ b/test.c @@ -84,12 +84,12 @@ void testprog_button_process(SurviveObject * so, uint8_t eventType, uint8_t butt } } -void testprog_raw_pose_process(SurviveObject * so, uint8_t lighthouse, FLT *pose) -{ +void testprog_raw_pose_process(SurviveObject *so, uint8_t lighthouse, SurvivePose *pose) { survive_default_raw_pose_process(so, lighthouse, pose); // print the pose; - printf("Pose: [%1.1x][%s][% 08.8f,% 08.8f,% 08.8f] [% 08.8f,% 08.8f,% 08.8f,% 08.8f]\n", lighthouse, so->codename, pose[0], pose[1], pose[2], pose[3], pose[4], pose[5], pose[6]); + printf("Pose: [%1.1x][%s][% 08.8f,% 08.8f,% 08.8f] [% 08.8f,% 08.8f,% 08.8f,% 08.8f]\n", lighthouse, so->codename, + pose->Pos[0], pose->Pos[1], pose->Pos[2], pose->Rot[0], pose->Rot[1], pose->Rot[2], pose->Rot[3]); } void testprog_imu_process(SurviveObject * so, int mask, FLT * accelgyromag, uint32_t timecode, int id) -- cgit v1.2.3