aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorultramn <dchapm2@umbc.edu>2017-05-17 18:48:11 -0700
committerultramn <dchapm2@umbc.edu>2017-05-17 18:48:11 -0700
commitf811151049ca98e955c6d824be9f939b4e55a491 (patch)
treee2b0429c8d004d17d160f22cbfb1c246ad5c77c9
parent5859d5fb335a7286973010683730868b0baf833b (diff)
parent9dddcfe68f6a83b7d6b1333d2d24fb88e5eb8c30 (diff)
downloadlibsurvive-f811151049ca98e955c6d824be9f939b4e55a491.tar.gz
libsurvive-f811151049ca98e955c6d824be9f939b4e55a491.tar.bz2
Merge branch 'master' of https://github.com/cnlohr/libsurvive
-rw-r--r--Makefile3
-rw-r--r--README.md8
-rw-r--r--calibrate.c3
-rw-r--r--data_recorder.c2
4 files changed, 12 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 81654d9..2f4ab5c 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,8 @@ GRAPHICS_LOFI:=redist/CNFGFunctions.o redist/CocoaDriver.o
# Linux / FreeBSD
else
-LDFLAGS:=$(LDFLAGS) -lX11
+
+LDFLAGS:=$(LDFLAGS) -lX11 -lusb-1.0
DRAWFUNCTIONS=redist/CNFGFunctions.c redist/CNFGXDriver.c
GRAPHICS_LOFI:=redist/CNFGFunctions.o redist/CNFGXDriver.o
diff --git a/README.md b/README.md
index 5b25bb6..8ebd8f9 100644
--- a/README.md
+++ b/README.md
@@ -7,6 +7,9 @@ An Open-Source tool for working with lighthouse-based tracking data, including s
Most of the development is discussed on Discord. Join the chat and discussion here: https://discordapp.com/invite/7QbCAGS
## Livestream collection
+
+If you are an individual who bothers going back and watching some of these, PLEASE PLEASE PLEASE add a note to https://github.com/cnlohr/libsurvive/issues/66 whenever something interesting happens. I want to make a highlight reel, but I don't want to sit through all the videos.
+
| Note | Youtube URL | Run time |
| -------------------------------------- | ------------------------------------------- | -------- |
| First livestream | https://www.youtube.com/watch?v=sv_AVI9kHN4 | 5:01:25 |
@@ -20,7 +23,8 @@ Most of the development is discussed on Discord. Join the chat and discussion h
| Eighth livestream | https://www.youtube.com/watch?v=nSbEltdH9vM | 6:06:36 |
| Ninth livestream | https://www.youtube.com/watch?v=60sGTd8T-KY | 3:28:44 |
| Ninth B livestream | https://www.youtube.com/watch?v=IIYj1Ig_gz8 | 2:25:33 |
-| Tenth livestream | https://www.youtube.com/watch?v=boXRdXca6Qc | ?:??:?? |
+| May 2017 Summary | https://www.youtube.com/watch?v=dVXpHKktbzM | 5:58 |
+| Tenth livestream | https://www.youtube.com/watch?v=8hqviGMlU7I | 3:30:46 |
Notes from second livestream trying to reverse engineer the watchman protocol: https://gist.github.com/cnlohr/581c433f36f4249f8bbc9c2b6450ef0e
@@ -30,6 +34,8 @@ Please see the issues for what help needs to be done now!
HackADay article and video with Dr. Yates on how they made the Vive a thing. http://hackaday.com/2016/12/21/alan-yates-why-valves-lighthouse-cant-work/
+Excellent article written by Oliver Kreylos showing just how amazing the lighthouse system really is. Likely the best/most detailed review on the performance *and* accuracy of the lighthouse system. http://doc-ok.org/?p=1478  
+
## Nomenclature
diff --git a/calibrate.c b/calibrate.c
index 9a43696..cc62914 100644
--- a/calibrate.c
+++ b/calibrate.c
@@ -188,7 +188,7 @@ void * SurviveThread(void *jnk)
if( !ctx )
{
fprintf( stderr, "Fatal. Could not start\n" );
- return 1;
+ exit( 1 );
}
SurviveThreadLoaded=1;
@@ -199,6 +199,7 @@ void * SurviveThread(void *jnk)
}
survive_close( ctx );
+ return 0;
}
diff --git a/data_recorder.c b/data_recorder.c
index 085b67d..002357e 100644
--- a/data_recorder.c
+++ b/data_recorder.c
@@ -149,7 +149,7 @@ void *SurviveThread(void *junk)
if( !ctx )
{
fprintf( stderr, "Fatal. Could not start\n" );
- return 1;
+ exit(1);
}
SurviveThreadLoaded = 1;