Commit Graph

6 Commits

Author SHA1 Message Date
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 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 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