Brandon Thomas
9334a7cd9c
Temporarily broke kinect.rs; I'll use this setting later
...
It'd be better to use Rust-native enums, but I don't want to update
kinect.rs right now
2021-01-19 00:09:30 -05:00
Brandon Thomas
7249880aa3
bump version number for publishing
2021-01-19 00:03:21 -05:00
Brandon Thomas
e1969c1d41
Use Amedee's latest build.rs but fix the Windows build
...
Windows builds were broken. "native" wasn't a valid build type.
2021-01-19 00:02:18 -05:00
Brandon Thomas
75eb97bbef
Update Cargo.toml and README to reflect that this is a fork
2021-01-17 17:09:31 -05:00
Brandon Thomas
0a4fe307b4
fix dylib on top of working version 0.2.1
2020-08-24 16:07:14 -04:00
Amédée d'Aboville
1cea4daeee
Bump cargo version to 0.2.1
2020-02-20 15:25:23 -05:00
Amédée d'Aboville
b6105ed47b
Update Readme and add changelog.
2020-02-20 15:24:55 -05:00
Amédée d'Aboville
347a89b1d3
Remove vendor/lib/linux contents because they are dynamic libraries and not static libraries.
...
This means they won't be linked against and the user still needs to have libk4a installed on their computer.
I'm not sure about the windows side yet, if it's an import library or a static library so I will check that later.
2020-02-20 15:16:08 -05:00
Amédée d'Aboville
15129c8e20
s/mit/MIT
2020-01-30 10:54:45 -05:00
Amédée d'Aboville
39852f0b95
Change license name to MIT because expat was not recognized.
2020-01-30 10:53:05 -05:00
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