forked from OpenKinect/libfreenect
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Removing lvdemo.c. Only need to build the dll
* Much improved error handling, better and cleaner VI's and wrapper functionality * Now uses IMAQ for image processing. Much more extensive library for machine vision. Signed-off-By: Ryan Gordon <rygordon4@gmail.com>
- Loading branch information
1 parent
7feae2b
commit 18252c9
Showing
24 changed files
with
21 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
General information: | ||
These drivers are still very very experimental and while they work, they are not stable. I guarantee there will be problems we haven't discovered yet. Please keep this in mind! | ||
These drivers are still very very experimental and while they work, they are not 100% stable. There will probably be problems we haven't discovered yet. Please keep this in mind! | ||
|
||
Needed first before this works: | ||
1) Windows machine with a (preferably) new version of LabVIEW (8.6+). Older versions untested. | ||
2) inf files (driver files) Please see: http://openkinect.org/wiki/Getting_Started_Windows and follow the Driver Installation instructions. You don't need the dependencies or the other instructions unless you actually want to mess with and compile the code that makes up the dlls. | ||
|
||
Known issues: | ||
1) RGB image in example.vi isn't being color-converted correctly but works enough to provide as an example. To be diagnosed | ||
1) Only 11Bit Depth Format and RGB Format work currently. Support for the others is being added soon. | ||
2) It is IMPORTANT to make sure the Kinect is turned off (either by pressing the the "stop" button in example.vi or running "stop.vi" or manually removing physical power from the Kinect before working on the code. It's been seen that LabView will close without warning or explanation if these steps are not taken. If LabView crashes when you try and run it, unplug your Kinect physically, wait a few seconds, and plug it back in. Restarting your computer or LabVIEW may also help. Save your work often. | ||
|
||
Information: | ||
- The depth frame image in example.vi uses an arbitrary gray-scale false-color rendering. The raw resultant array can be accessed from the vi "get depth frame.vi" included in libfreenect.lvlib. Please see: http://openkinect.org/wiki/Protocol_Documentation for more information | ||
- The RGB frame image in example.vi can be directly accessed from the raw resultant array in "get image frame.vi" included in libfreenect.lvlib. Please see: http://openkinect.org/wiki/Imaging_Information for more information | ||
- The dlls in this project are 32bit compiled with MSVC 2010 | ||
- Only have tested 1 sychronous Kinect so far | ||
- Only has been tested with 1 Kinect | ||
- Timing is very important to frame rate speed. Please be considerate to cycles when developing algorithms on top of these drivers | ||
|
||
If you have problems, email me at rygordon4@gmail.com or find me on irc.freenode.net #openkinect under the RyanGordon alias. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
wrappers/labview/lvlib/datatypes/freenect_raw_tilt_state.ctl
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
wrappers/labview/lvlib/datatypes/freenect_tilt_status_code.ctl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,28 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<Library LVVersion="8608001"> | ||
<Property Name="NI.Lib.Icon" Type="Bin">#'#!!1!!!!)!"1!&!!!-!%!!!@````]!!!!"!!%!!!+G!!!*Q(C=\:9\DB."%)<`:4>9E@E'S#*T7&=Q#9%T3ZSALG#=L<2#=LI3$EJ;2%$G!TCR%)(4CD<X&8S&Y?NWYXWA(1M*"!(6LHH]V68VO;=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>%?]7[`8X:J38^>0\@:"@,X>^M;\%`(H]\OON`^0[O0YZ,<(\PK``[4WHZ22\(#=X!M(PG0E'*]]DD/[_3'R;^E(Y4Y_\VJ]XO*6?*2@TP.ZOXC;XR/@0'``YX]`0OL@H[/\8O-X@(8S(@#(44J4?2(BC1@OO+G%OE20^%20^%20^%!0^%!0^%!0>%>X>%>X>%>X>%-X>%-X>%-X^$L1B3ZUI<-K3@/E56)U+:"-"E8*)?&*?"+?B)><*4Q*4]+4]#1]4&(#E`!E0!F0QE/;%J[%*_&*?")?3F73L!->HI3(]AJY!J[!*_!*?'CJA#=!#*I&B9-C9#A)"B="4]!4](#JA#@A#8A#HI#(M!+?A#@A#8A#(F,KKE3F+1->(ML)Y8&Y("[(R_'BN"Q?B]@B=8A=(NL*Y8&Y(!CHI6-="$F*TA4HRO&R?$D*Y8&Y("[(R_%B6*_1VZ5J.'7AQW0Q'$Q'D]&D]&"#"I`"9`!90!90:78Q'$Q'D]&D]."+"I`"9`!9)%:4WMMI:C1;EQT"Y/&4>YP6JR36R/K1WO:6WZ2KGUVN%[FN$L7(LP9QV2[3WO+L,;L;9KENANK85Y.7AV&LIJ:=*GL0=9>P]"7_Q'@Y&"`D1XR15H`TR0V_L^VOJ]VGI^6KJ=6CI>FMJOFUKP&YL/&QK-&A=0QX]9JRM,-@\[7L=M(^T8O>X\T$W`E4:`4TTY=Z:]O,F^=X&Z@8SQ_L\@,.[MPSY^NN]4,H6\X5`&<@3``#OV%PV$XY']9;@1=9RHL7!!!!!!</Property> | ||
<Property Name="NI.Lib.Version" Type="Str">1.0.0.0</Property> | ||
<Item Name="datatypes" Type="Folder"> | ||
<Item Name="freenect_depth_format.ctl" Type="VI" URL="../datatypes/freenect_depth_format.ctl"/> | ||
<Item Name="freenect_led_options.ctl" Type="VI" URL="../datatypes/freenect_led_options.ctl"/> | ||
<Item Name="freenect_raw_tilt_state.ctl" Type="VI" URL="../datatypes/freenect_raw_tilt_state.ctl"/> | ||
<Item Name="freenect_tilt_status_code.ctl" Type="VI" URL="../datatypes/freenect_tilt_status_code.ctl"/> | ||
<Item Name="freenect_video_format.ctl" Type="VI" URL="../datatypes/freenect_video_format.ctl"/> | ||
<Item Name="freenect_rgb_24bit.ctl" Type="VI" URL="../datatypes/freenect_rgb_24bit.ctl"/> | ||
</Item> | ||
<Item Name="dll" Type="Folder"> | ||
<Item Name="freenect_lv.dll" Type="Document" URL="../freenect_lv.dll"/> | ||
<Item Name="get depth frame.vi" Type="VI" URL="../VIs/get depth frame.vi"/> | ||
<Item Name="get image frame.vi" Type="VI" URL="../VIs/get image frame.vi"/> | ||
<Item Name="get tilt state.vi" Type="VI" URL="../VIs/get tilt state.vi"/> | ||
<Item Name="get tilt state mks.vi" Type="VI" URL="../VIs/get tilt state mks.vi"/> | ||
<Item Name="set led.vi" Type="VI" URL="../VIs/set led.vi"/> | ||
<Item Name="set tilt degs.vi" Type="VI" URL="../VIs/set tilt degs.vi"/> | ||
<Item Name="stop.vi" Type="VI" URL="../VIs/stop.vi"/> | ||
</Item> | ||
<Item Name="imaq" Type="Folder"> | ||
<Item Name="get_image_imaq.vi" Type="VI" URL="../VIs/get_image_imaq.vi"/> | ||
<Item Name="get_depth_imaq.vi" Type="VI" URL="../VIs/get_depth_imaq.vi"/> | ||
</Item> | ||
<Item Name="freenect_lv.dll" Type="Document" URL="../freenect_lv.dll"/> | ||
<Item Name="get depth frame.vi" Type="VI" URL="../VIs/get depth frame.vi"/> | ||
<Item Name="get image frame.vi" Type="VI" URL="../VIs/get image frame.vi"/> | ||
<Item Name="get tilt state.vi" Type="VI" URL="../VIs/get tilt state.vi"/> | ||
<Item Name="get tilt state mks.vi" Type="VI" URL="../VIs/get tilt state mks.vi"/> | ||
<Item Name="set led.vi" Type="VI" URL="../VIs/set led.vi"/> | ||
<Item Name="set tilt degs.vi" Type="VI" URL="../VIs/set tilt degs.vi"/> | ||
<Item Name="stop.vi" Type="VI" URL="../VIs/stop.vi"/> | ||
<Item Name="example.vi" Type="VI" URL="../VIs/example.vi"/> | ||
</Library> |