diff options
author | CNLohr <charles@cnlohr.com> | 2018-03-16 00:02:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-16 00:02:03 -0400 |
commit | 6e67cc1996fbcba36e11cb281c78d3b00c4de85d (patch) | |
tree | 543390fcbd17dfce8845dff942fc6ecd928270b7 /src/survive_process.c | |
parent | 61a01d0ddfd8e99c97e3d235d4f0782fbf0ed032 (diff) | |
parent | 029b2909b37cc58ba35e0f46be1802866ee59730 (diff) | |
download | libsurvive-6e67cc1996fbcba36e11cb281c78d3b00c4de85d.tar.gz libsurvive-6e67cc1996fbcba36e11cb281c78d3b00c4de85d.tar.bz2 |
Merge pull request #113 from cnlohr/epnp
Epnp
Diffstat (limited to 'src/survive_process.c')
-rw-r--r-- | src/survive_process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/survive_process.c b/src/survive_process.c index e45a979..fe6dc45 100644 --- a/src/survive_process.c +++ b/src/survive_process.c @@ -109,7 +109,8 @@ void survive_default_button_process(SurviveObject * so, uint8_t eventType, uint8 void survive_default_raw_pose_process(SurviveObject *so, uint8_t lighthouse, SurvivePose *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, pos[0], pos[1], pos[2], quat[0], quat[1], quat[2], quat[3]); - + so->OutPose = *pose; + so->FromLHPose[lighthouse] = *pose; } void survive_default_lighthouse_pose_process(SurviveContext *ctx, uint8_t lighthouse, SurvivePose *pose) { |