From c0c9211b690dd251c94e5be09839c24e4d04a3a4 Mon Sep 17 00:00:00 2001 From: karlito139 Date: Fri, 25 Jul 2014 10:56:19 +0200 Subject: [PATCH] we now get the id to the airframe using the pong message --- sw/ground_segment/tmtc/video_synchronizer.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sw/ground_segment/tmtc/video_synchronizer.c b/sw/ground_segment/tmtc/video_synchronizer.c index 8a67020f728..dd1120a0775 100644 --- a/sw/ground_segment/tmtc/video_synchronizer.c +++ b/sw/ground_segment/tmtc/video_synchronizer.c @@ -128,7 +128,6 @@ static void on_Message(IvyClientPtr app, void *user_data, int argc, char *argv[] if(videoSyncTagFlag){ videoSyncTag = logCurrentTime; - //g_print("tag at %f; ", videoSyncTag); videoSyncTagFlag = FALSE; } @@ -276,11 +275,7 @@ int main ( int argc, char** argv) IvyInit("Video Synchronizer", "Video Synchronizer READY", NULL, NULL, NULL, NULL); IvyBindMsg(on_Message, NULL, "^time(\\S*) (\\S*)"); IvyBindMsg(on_Message_Video, NULL, "^(\\S*) VIDEO_SYNC(\\S*) (\\S*)"); - IvyBindMsg(on_Airframe_ID, NULL, "^(\\S*) (\\S*)"); - IvyBindMsg(on_Airframe_ID, NULL, "^(\\S*) (\\S*) (\\S*)"); - IvyBindMsg(on_Airframe_ID, NULL, "^(\\S*) (\\S*) (\\S*) (\\S*)"); - IvyBindMsg(on_Airframe_ID, NULL, "^(\\S*) (\\S*) (\\S*) (\\S*) (\\S*)"); - + IvyBindMsg(on_Airframe_ID, NULL, "^replay(\\S*) PONG(\\S*) (\\S*)"); #ifdef __APPLE__ IvyStart("224.255.255.255");