aboutsummaryrefslogtreecommitdiff
path: root/data_recorder.c
diff options
context:
space:
mode:
Diffstat (limited to 'data_recorder.c')
-rw-r--r--data_recorder.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/data_recorder.c b/data_recorder.c
index a8e012d..7e5384a 100644
--- a/data_recorder.c
+++ b/data_recorder.c
@@ -62,8 +62,8 @@ int my_config_process(SurviveObject *so, char *ct0conf, int len) {
return survive_default_htc_config_process(so, ct0conf, len);
}
-void my_lighthouse_process(SurviveContext *ctx, uint8_t lighthouse, SurvivePose *lh_pose) {
- survive_default_lighthouse_pose_process(ctx, lighthouse, lh_pose);
+void my_lighthouse_process(SurviveContext *ctx, uint8_t lighthouse, SurvivePose *lh_pose, SurvivePose *obj) {
+ survive_default_lighthouse_pose_process(ctx, lighthouse, lh_pose, obj);
write_to_output("%d LH_POSE %0.6f %0.6f %0.6f %0.6f %0.6f %0.6f %0.6f\n", lighthouse, lh_pose->Pos[0],
lh_pose->Pos[1], lh_pose->Pos[2], lh_pose->Rot[0], lh_pose->Rot[1], lh_pose->Rot[2],
lh_pose->Rot[3]);