Feature: k4w/1473 added tilt, led, accel and OS X freeze fix#362
Feature: k4w/1473 added tilt, led, accel and OS X freeze fix#362piedar merged 3 commits intoOpenKinect:masterfrom
Conversation
…up. This seems to fix a known issue for OS X users where the device renumerates within a small time period and causes a freeze. Closes OpenKinect#340 and addresses OpenKinect#316. Signed-off-by: Theodore Watson <theo@openframeworks.cc> (ofTheo)
…accel and led for K4W and 1473 device. Adds keep alive for K4W and 1473. Signed-off-by: Theodore Watson theo@openframeworks.cc (ofTheo)
|
👍 |
|
Hey Theo. Thanks for all of your work on this. I have tried to get this to work every which way, with no luck... upon the make command, it builds about 25%, then I get this error: Any suggestions? Same error on two different machines: Macbook Pro (15-inch, Mid 2010)
Macbook Pro (Retina, 15-inch, Late 2013)
|
|
Need to add keep_alive.c to your build. It looks like it's not being added. Sent from my iPhone
|
|
I do have it included in the "src" folder, of the main root (I downloaded your "feature-k4w..." repository and am building from that). Do I need to manually place it in the build folder as well? Sorry for my unintelligent line of questioning. I am new to this, and it's been quite a struggle... |
|
It might be that you need to add the files to the cmake build files. I don't have a lot of experience with cmake, hence why I didn't make changes in this pr. Looks like editing CMakeLists.txt in src/ will so the trick. Adding keep_alive.c after core.c in both places. I can update this PR later with these changes but it should be easy enough to do. Sent from my iPhone
|
|
Thanks! I will test it out. I really appreciate your help! |
|
Worked like a charm! One note, from my configurations, for the "ccmake .." setup, I needed to change all references to "/usr/" to "/opt/". THANK YOU! |
|
@ofTheo I will update src/CMakeLists.txt when I merge this. |
|
thanks @piedar - sounds good! |
|
Hi Theo! I have been trying to get 1473's tilt/accel/led working on OSX 10.9. I get this: with no change in physical tilt/accel data/led status. While building libfreenect, I used Thanks for the help! |
|
hi @TihomRis
you are probably using the older audios.bin which does audio but does not enable tilt or accel controls |
|
Wow! That did the trick! I have been looking forward to this feature for a long time! Thanks a lot! |
|
How is that done with py360? Is the newer firmware compatible with original Kinect? I would like to either update fwfetcher.py or replace it with py360 to use the newer firmware by default. |
|
I'm using 1473 on Ubuntu12.04, and it's working great now, thanks. But before all things work out the following have to be done.
|
|
I ended up using extract360.py to get it working. Followed this guide. After extracting audios.bin from SystemUpdate_16547_USB.zip (just googled it), I manually placed it in the build directory. And then built libfreenect with I have tried the build on both 1473 and 1414. So far, it works great! |
|
Hi @hkhpeter . Glad to know it works for you. I'm eager to make it work for me. I tried to figure out how to include ofxKinectExtras but with no luck. So I want to compile the code as you did. As I'm not a c/c++ developer I must ask for help on this. How can I compile the audios.bin? I'm trying this but the "unsigned char" seems to be cut to just 64 B. #include int main() } |
Tested with both K4W and 1473 devices.
Needs testing on Windows and Nix
NOTE:
pinging @zarvox @JoshBlake @zarvox
Signed-off-by: Theodore Watson theo@openframeworks.cc (ofTheo)