Commit Graph

27 Commits

Author SHA1 Message Date
Amédée d'Aboville a4b9d7c213 Remove calibration.rs example, it will go it the wrapper crate. 2020-01-30 10:50:17 -05:00
Amédée d'Aboville 078455d028 Remove vim temp file 2020-01-30 10:45:43 -05:00
Amédée d'Aboville 5e31ede73a Update cargo.toml and readme 2020-01-30 10:45:12 -05:00
Amédée d'Aboville 6f6a01394d Checkpoint calibration.rs example. There are too many new structs to wrap/fill for now.
Will do it in the wrapper crate.
2020-01-30 10:43:44 -05:00
Amédée d'Aboville 9341889a3d Close device at the end of the streaming example.
Might leak a little memory on panic cases, but this is just an example.
2020-01-30 10:38:59 -05:00
Amédée d'Aboville 2592d76d85 Update gitignore. 2020-01-30 10:37:52 -05:00
Amédée d'Aboville 62fc4c00b0 Impl Drop for Device wrapper, so it k4a_device_close()s the device when it goes out of scope.
Also close the device in the streaming example.
2020-01-30 09:40:17 -05:00
Amédée d'Aboville 82c045c50c Add whitelists for types and variables. 2020-01-29 10:33:42 -05:00
Amédée d'Aboville fa4ee0d3f1 Cleaned up calibration wrapper a little to make the open and get_serial() methods. 2020-01-29 09:43:24 -05:00
Amédée d'Aboville 4f0d6b2a67 Add first half of calibration example.
This is a Device wrapper struct that has methods and a get_serial() function.
2020-01-29 09:35:09 -05:00
Amédée d'Aboville a81b8b62e7 Add streaming example 2020-01-28 18:28:58 -05:00
Amédée d'Aboville bf36a9a20f Add enumerate example 2020-01-28 18:28:40 -05:00
Amédée d'Aboville d6359f8bec Update Readme with plans 2020-01-28 18:23:21 -05:00
Amédée d'Aboville e758f3bdcb Only whitelist k4a_* functions. 2020-01-28 18:18:10 -05:00
Amédée d'Aboville 2e5278fa73 Statically link the k4a lib. 2020-01-28 18:16:45 -05:00
Amédée d'Aboville e37979ca5d Update Readme 2020-01-27 15:10:18 -05:00
Amédée d'Aboville 1ea6779fb8 Update Readme 2020-01-27 15:08:54 -05:00
Amédée d'Aboville a2eb60bc9e Bump version to 0.2 to reflect windows support 2020-01-27 15:06:23 -05:00
Amédée d'Aboville abb50cd0c1 Update Readme 2020-01-27 15:06:23 -05:00
Amédée d'Aboville ce07fd4b2d Move lib/windows/amd64 to lib/windows/x86_64 to match cfg!'s name. 2020-01-27 15:00:03 -05:00
Amédée d'Aboville 95c52f1bfa This should work on linux and windows now 2020-01-27 14:54:20 -05:00
Amédée d'Aboville a177d1d6ee Add libk4a.so and libk4arecord.so to vendor/lib/linux 2020-01-27 14:37:37 -05:00
Amédée d'Aboville 784fb688ed Split vendor/include into windows and linux versions, because the headers are slightly different. The issue I noticed is
k4a_export.h uses decltype on windows, and something else on linux. For this reason I just took the k4a/*.h from
/usr/local/include and added them here.
2020-01-27 14:36:20 -05:00
Amédée d'Aboville b8040516de Vendor K4A SDK at version 1.3.
This adds the windows libs, adding the linux ones next.
2020-01-27 13:09:23 -05:00
Amédée d'Aboville 40a601299a Update Cargo.toml 2020-01-26 18:32:42 -05:00
Amédée d'Aboville 2152888bbc Update Cargo.toml 2020-01-26 18:27:35 -05:00
Amédée d'Aboville 99bdb566ac Initial commit. 2020-01-26 18:20:07 -05:00