Граф коммитов

497 Коммитов

Автор SHA1 Сообщение Дата
wes-b 1c44e7276c
updating exposure tests to validate with both the cameras running and not running (#663) 2019-08-21 14:47:59 -07:00
wes-b ba526834e3
Reset now succeeds if Color camera is hung (#666) 2019-08-21 14:05:27 -07:00
Matt Schulte aebb27acd8
Enables SourceLink for Windows Builds (#634)
Using CMake, a source link json file is generated and added to the
linker options. This will embed information into the PDB about where
to download source files from.
2019-08-20 13:10:32 -07:00
Matt Schulte 4b37ca7d6b
Removes examples msbuild files (#649)
There are legacy msbuild files to build the examples which have not
been maintained. The examples build under CMake but not under these
msbuild files. Instead of maintaining two build systems we are
removing the msbuild files.
2019-08-16 14:51:38 -07:00
Matt Schulte 84baff112f
Sets default visibility of functions to hidden (#651)
This prevents libk4a.so and libk4arecord.so from exporting internal
functions as well as functions from 3rd party libraries.
2019-08-16 12:49:20 -07:00
Jacob Wirth 13e9c07308
Fix warnings on clang 8 / GCC 9 (#645)
* Fix warnings on clang 8 / GCC 9

* Fix clangformat

* Update src/record/internal/matroska_read.cpp

Co-Authored-By: Matt Schulte <schultetwin1@gmail.com>
2019-08-15 16:00:36 -04:00
Andrew Duan efbc942ca0
Small updates on comments and enum naming (#644) 2019-08-14 13:33:58 -07:00
Matt Schulte e8f00af3c1
Updates cmake project version to 1.2 (#637)
Currently the CMake project version is set to 1.1 but the develop
branch is starting to release 1.2. Changing project version to 1.2
and updating cmake to detect this error and cause a build break
2019-08-13 10:39:26 -07:00
Matt Schulte d216ae05de
Bolds visual studio dev cmd prompt note (#642) 2019-08-13 10:38:54 -07:00
Derek M f64b89b5e0
Csharp version (#635)
* Switch .NET Standard and .NET Core projects to using AssemblyInfo and VersionInfo.
* Generate the VersionInfo file curing the CMake configure step.
2019-08-12 16:35:30 -07:00
Andrew Duan 1649dc3a7c
undistort example updates (#628)
* Undistort example updates

* More comments

* Renaming Enum

* Fix linux

* Addressing comments and explicitly store all 4 weights

* Fix ft
2019-08-12 16:13:05 -07:00
Stuart Alldritt f0a1229e24
Add a capture::handle() function to k4a.hpp (#626)
* Add a capture::handle() function

* Add comments to ::handle() functions

* Fix clangformat
2019-08-09 17:33:41 -07:00
wes-b 7b73ef8595
Update Build Infrastructure to support multiple devices. (#546)
* Enabling the build system to remove the Connection Exercizer infavor of resetting the device(s)
azure-pipelines.yml is updated to not need the Connection Exercizer.
AzureKinectFirmwareTool(.exe) is updated to issue commands to multiple devices.
2019-08-09 16:52:10 -07:00
wes-b 2a5027f1d7
Remove connection exersizer (#618)
* removed connection exersizer

* removing connection exerciser reset script
2019-08-08 16:36:12 -07:00
wes-b 4519a35278
removed connection exersizer (#615) 2019-08-08 15:19:31 -07:00
Jacob Wirth 0ca8306cdd
Update CHANGELOG.md (#612) 2019-08-08 13:33:16 -07:00
Tsukasa Sugiura bc117c5d93 Add overload functions that returns k4a::image in k4a::transformation (#596)
* Create output k4a::image in k4a::transformation

Create output k4a::image in k4a::transformation.

* Add overload functions that returns k4a::image

Add overload functions that returns k4a::image.

* Fixed clangformat errors

* Add comment that not create output image inside this function

Add comment that not create output image inside this function.

Co-Authored-By: Brent Allen <brenta@microsoft.com>

* Add comment that create output image inside this function.

Add comment that create output image inside this function.

Co-Authored-By: Brent Allen <brenta@microsoft.com>

* Create output image only in new overload functions

* Change return pair value to move

Change return pair value to move.

* Change to small structure to keep resolution information

Change to small structure to keep resolution information.

* Fix create image resolution in depth_image_to_point_cloud()

Fix create image resolution in depth_image_to_point_cloud().
It depends on input depth image.

* Create image according to input format

Create image according to input format.

* Fix bytes per pixel for custom image

Fix bytes per pixel for custom image.
2019-08-08 11:00:00 -07:00
Brent Allen da6383a5d0
Cleaned up NativeMethods.cs (#601) 2019-08-07 15:22:29 -07:00
Derek M 05bc8daafa
More C# style and comment clean up (#602)
* More style guidline changes.
2019-08-07 10:41:39 -07:00
Derek M cc3b6a8274
C# Code analysis and style cleanup (#600)
* Code Anlyais, Style, and Comment clean up.
* Remove unused PlaybackSeekOrigin enum.
2019-08-06 18:19:41 -07:00
Brent Allen 2795e354e8
Added documentation for C# calibration types (#599)
* Added documentation for C# calibration types
2019-08-06 17:47:06 -07:00
Brent Allen c82126e3f0
Updated C# timestamp methods (#598) 2019-08-06 17:14:27 -07:00
Derek M 8937afde4b
Refactoring the C# exception (#581)
* Cleaning up use of "Exception".
* Introducing some new Exception types we'll use. OpenDevice, CameraStart, and IMUStart.
* Adding logging to the exceptions.
2019-08-06 14:09:43 -07:00
Brent Allen 3da323691a
Fixed x86 calling conventions in C# (#578)
* Fixed calling convention for x86

* Added GC to main loop for WPF on x86
2019-08-06 13:26:48 -07:00
Yijie Wang 708987a90b Feature/support custom track record playback (#246)
* Add functionality to record custom track

Add the feature to the k4a recorder to allow users to record custom tracks defined by their own.
1. Add custom track recording code to recorder.cpp
2. Expose the custom track recording API through record.h
3. Create a simple example to showcase how the API can be used.
4. Add unit test for the custom track recording APIs.

* Add functionality to playback custom track (#196)

* Implement the basic functionality of the custom track playback

1. Add feature to query timestamp by frame index for any given track
2. Add unit test for custom track playback
3. Fix custom track playback/record API to take/output microsecond for the timestamps
4. Define data_block handle to access to custom track timestamp and data
5. Allow k4a_playback_get_previous_data_block/k4a_playback_get_next_data_block API to move non-custom tracks
6. Add comments to the recording API.

* Support legacy depth mode tag strings (#239)

The legacy depth mode tag strings are using lower letter 'x' for "NFOV_2X2BINNED" and "WFOV_2X2BINNED". Add support to be able to read the legacy depth mode tags.

* Fix build break caused by merge conflict

* Fix clangformat errors.

* Remove code to pre-scan the mkv file to get the index-timestamp map

* Fix small issues.

* Address comments

* Update track tags for custom track playback/record (#251)

* Update track tags to fix legacy file support
Revert change to next_child and fix upper_level check

* Fix build errors and clean up for PR review

* More build fixes

* Address comments

* Address comments

* Fix linux build break

* Remove track / attachment tags from public api
Restrict track names to A-Z, 0-9, -, _
Minor docs cleanup

* Add internal flag for high frequency data tracks

* Add track settings for subtitle track

* Fix merge error

* Change playback to use a track map for all tracks
Add get_track_count and get_track_name functions
Add more tests

* Update documentation

* More test updates

* Fix build on linux

* Change built-in track names to use #defines

* Code cleanup

* More review and code cleanup
Adjust test cases to cover a current bug in this branch

* Add timestamp estimation for high_freq option.

* Complete high_freq_data feature and update tests

* Add k4a_playback_track_is_builtin()

* PR review changes, fix linux build

* Remove unused variable from record context

* Document track / tag character limitations
Update record example

* Fix linux build warnings

* Fix PR comments

* Add new test for IMU start offset

* Update custom track recording to use device_timestamp on playback

* Minor documentaiton change around timestamps
2019-08-06 10:04:27 -07:00
wes-b 39df6d68b9
Warn user about using old firmware & Update Changelog.md (#593)
* warning about firmware version and updated changelog.md

* addressing PR feedback
2019-08-06 08:47:40 -07:00
Brent Allen 3868704ddb
Renamed calibration types (#595) 2019-08-05 16:11:45 -07:00
Jacob Wirth 3b299f14bd
Convert all playback timestamps to use device time (#592)
* Convert all playback timestamps to use device time

* Add some extra documentation comments around seek_timestamp

* Rename last_timestamp_ns field to last_file_timestamp_ns
2019-08-05 15:45:17 -07:00
Brent Allen 0f82028001
Made image_create format aware (#594)
* Made image_create stride aware
2019-08-05 15:33:58 -07:00
wes-b 85cd9e2b0b
Logging is available for all K4A API's, not just after k4a_device_open is called (#537)
* Converted logger to initialize 1 time when module is loaded into memory. Removed logger_create/destroy API's and updated all callers as logging is now ready to go with the first API call to the SDK.

* fixing build break

* addressing feedback
2019-08-05 14:43:58 -07:00
Tsukasa Sugiura 9de3e123f3 Fix broken link in docs/building.md (#586)
Fix broken link in docs/building.md.
2019-08-05 13:06:56 -07:00
Brent Allen 75d456cae1
Updated documentation (#579)
* Updated documentation

* More documentation updates
2019-08-02 16:52:24 -07:00
Brent Allen 987b072956
Fix assignment of Images to Capture objects (C#) (#570)
* Fixed setter in Capture.cs

* Simplified wrapper management

* Update src/csharp/Tests/UnitTests/CaptureTests.cs

Co-Authored-By: Derek M. <MsDerekMa@users.noreply.github.com>

* Update src/csharp/Tests/UnitTests/CaptureTests.cs

Co-Authored-By: Derek M. <MsDerekMa@users.noreply.github.com>

* CR Feedback
2019-08-02 11:12:21 -07:00
Christian Mäkelä c0800a43fb
Merge pull request #566 from microsoft/feature/transformation-custom-image-support
Transformation custom image support
2019-08-01 12:57:30 -07:00
Christian Makela 40c8fee0c8 Change package to 1.2.0-alpha.10 2019-08-01 12:07:19 -07:00
Christian Makela a28dcf52cd Update references to depthengine to version 2.0 2019-08-01 10:03:05 -07:00
Wes Barcalow f04baac66a Merge branch 'feature/transformation-custom-image-support' of https://github.com/Microsoft/Azure-Kinect-Sensor-SDK into feature/transformation-custom-image-support 2019-08-01 09:28:44 -07:00
Wes Barcalow f53dd67522 Renameing CSharp DepthEngine File Name 2019-08-01 09:27:21 -07:00
wes-b bc80c80ea1
Merge branch 'develop' into feature/transformation-custom-image-support 2019-08-01 08:02:25 -07:00
wes-b c2c1188c74 Download Azure.Kinect.Sensor.Sdk NuGet to get the depth engine (#548) 2019-07-31 16:49:34 -07:00
Derek M d42180dffa Adding a Strong Name key. (#569)
Strong Name signing the SDK, Stub Generator, Unit Tests, and WinForms example.
2019-07-31 16:17:18 -07:00
Christian Makela 7f49a9ad2c Review changes 2019-07-31 15:02:23 -07:00
Christian Makela d89be5081a Merge fixes 2019-07-31 10:56:20 -07:00
Christian Makela 1a1da9e5be Merge branch 'develop' into feature/transformation-custom-image-support 2019-07-31 10:41:48 -07:00
Brent Allen 7a9237f88c
Change C# to using Memory<T> (#539)
* Made allocator hookable

* Plumbed public API for allocator

* C# hooks native allocator

* Update src/csharp/SDK/Device.cs

* Update src/csharp/SDK/Image.cs

Co-Authored-By: Derek M. <MsDerekMa@users.noreply.github.com>
2019-07-31 10:05:53 -07:00
Christian Makela a8592b5848 Fix issue with image format in csharp and throughput_perf 2019-07-30 17:20:50 -07:00
Christian Makela 40947331bf Fix issue with logging in Linux build 2019-07-30 16:41:33 -07:00
Christian Makela 566aa210b2 Clangformat changes 2019-07-30 16:02:49 -07:00
Christian Makela 56e03eed8b Transformation custom image support 2019-07-30 15:47:36 -07:00
Andrew Duan d1ac471ed8
Document details of extrinsics (#560)
* Document details of extrinsics

* addressing comments
2019-07-30 10:00:50 -07:00