From ea698a54a82ff5c20236ff09e592354dfe25798a Mon Sep 17 00:00:00 2001 From: Niklas Halle Date: Mon, 5 Apr 2021 14:34:56 +0200 Subject: start cleanup --- test_matleap.m | 57 --------------------------------------------------------- 1 file changed, 57 deletions(-) delete mode 100755 test_matleap.m (limited to 'test_matleap.m') diff --git a/test_matleap.m b/test_matleap.m deleted file mode 100755 index 0c6c322..0000000 --- a/test_matleap.m +++ /dev/null @@ -1,57 +0,0 @@ -% @file test_matleap.m -% @brief test matleap functionality -% @author Jeff Perry -% @version 1.0 -% @date 2013-09-12 - -function test_matleap - % remove matleap mex-file from memory - % set debug on - %matleap_debug - % show version - [version]=matleap_version; - fprintf('matleap version %d.%d\n',version(1),version(2)); - % pause to let the hardware wake up - sleep(1) - % get some frames - frame_id=-1; - frames=0; - tic - while(toc<10) - % get a frame - f=matleap_frame; - % only count it if it has a different id - if f.id~=frame_id - frame_id=f.id; - print(f) - frames=frames+1; - end - end - s=toc; - % display performance - fprintf('%d frames\n',frames); - fprintf('%f seconds\n',s); - fprintf('%f fps\n',frames/s); -end - -% sleep for t seconds -function sleep(t) - tic; - while (toc