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

366 Коммитов

Автор SHA1 Сообщение Дата
Billy Price d842759d9c
K4AViewer: Add IMU playback (#234)
Add IMU playback support to K4AViewer.

To support this, move graph data aggregation into the listener. This lets us do things like clear the graph data when a seek happens without having direct access to the IMU window.
2019-04-10 16:34:00 -07:00
mbleyer 977f2e6a45
Merge pull request #231 from Microsoft/user/mbleyer/bug_223
Bug 223: Transformation function parameters are not validated for GPU code path
2019-04-10 14:06:58 -07:00
mbleyer c430a64df6
Merge branch 'develop' into user/mbleyer/bug_223 2019-04-10 13:35:31 -07:00
Billy Price 79cad4f660
K4AViewer: Add API logging pane (#229)
Add a logging pane to K4AViewer that displays the API logs.
2019-04-10 12:52:06 -07:00
Michael Bleyer 0a4ad7629e removing ut dependency on depthengine.dll 2019-04-09 16:58:57 -07:00
Michael Bleyer d659db56d8 adding unit tests 2019-04-09 16:40:26 -07:00
Michael Bleyer ba99cc381f Linux build 2019-04-09 15:01:00 -07:00
Michael Bleyer d0a4f9df03 validating parameters for GPU code path 2019-04-09 14:20:03 -07:00
Derek M ee7a6fbbb9
Adding a check to not wait if the thread has already fully started. (#228)
When starting the depth engine, only wait on the condition if we don't think the thread has started yet as it will never be released if the thread has already triggered the condition.
2019-04-09 12:41:12 -07:00
wes-b 4f177e7a5b
User/wesbarc/logging api (#221)
* Adding Logging API to set/clear callback function, added unit tests, passing with parallel tests with 500 interations.
Updated ENV logger settings so they don't default to enable STDOUT

* formatting change

* works

* Addressing PR comments

* Fixing Doxygen break

* Fixing comment

* last round of feedback
2019-04-09 08:17:13 -07:00
Billy Price 51b1ee4702
K4AViewer: Add tooltips for unsupported modes, block IMU if no camera is enabled (#225)
- Add tooltips explaining why options are unavailable (e.g. 3072p doesn't work at 30 FPS)
- Disable starting the IMU if neither camera is enabled since that's no longer supported by the SDK

Also fix an unrelated build break in the transformation tests on some Ubuntu 16.04 setups related to "abs()" resolving to the C version of the function (which expects int args) instead of the C++ version (which has overloads for floats)
2019-04-05 13:13:01 -07:00
Billy Price e751370be7
K4AViewer: change point cloud viewer to arcball controls (#222)
Change the point cloud viewer controls from first person game-style WASD keyboard/mouse controls to modeling software-style arcball mouse controls
2019-04-05 10:20:13 -07:00
Andrew Duan a84aad2c7a
Skip interpolation at depth discontinuity (#190)
* Skip interpolation at depth discontinuity

* Linux fix

* Fix linux for real :)

* move to const value

* small fix
2019-04-04 17:43:07 -07:00
Derek M b1aa7fc807
Check the device calibration in the firmware tests (#220)
Compare the calibration before and after the firmware update to ensure that it is preserved through updates.
2019-04-04 16:36:44 -07:00
wes-b bc5a2aebb7
Fixed leak in dewrapper.c, added code to help find code in the future. (#207)
* Fixed leak in dewrapper.c. Switched setting to a build variable that can be set in CMAKE.
Also updated leak detection to run a binary unload.
Cleanup up most of the errors I found.
Opened issues #210 and @212 to track leaks that still need to be addressed.

* Adding leak detection logic to k4a_unittest_init() so more tests get it automatically

* Addressing PR feedback
2019-04-04 10:21:42 -07:00
Matt Schulte 671ac54116
Updates firmware during functional tests (#202) 2019-04-03 15:06:19 -07:00
Derek M a906b1d213
Increasing the delay before attempting to connect after issuing a reset (#215)
To help prevent errors caused by connecting to a device as it is going away, increase the delay before attempting to connect to the device again after issuing the reset command.
2019-04-03 11:17:59 -07:00
Jacob Wirth d9e43f2492
IMU Playback API (#213)
* Start of IMU playback

* Finish IMU playback tests

* Add IMU block boundary test

* Test cleanup

* Add more code comments and improve error checking
2019-04-02 14:15:24 -07:00
Matt Schulte e7c6f95ce5
User/maschu/fix build break (#214)
* Debug dir

* Look in 2019

* Moved from preview to enterprise

* Enable msbui

* Revert "Enable msbui"

This reverts commit f055f04963.
2019-04-02 13:44:10 -07:00
mbleyer f03cbd8ffd
Merge pull request #209 from Microsoft/user/mbleyer/xyz-simd
SSE code for depth to xyz
2019-04-02 10:42:29 -07:00
Chris Edmonds 06b2f593ef
Merge branch 'develop' into user/mbleyer/xyz-simd 2019-04-02 10:15:22 -07:00
Michael Bleyer 6437d5a410 linux build 2019-04-01 17:32:16 -07:00
Billy Price 90fc56c38c
K4AViewer: rewrite playback wrapper like k4a.hpp (#208)
Rewrite the playback wrapper used in k4aviewer in the style of the official C++ wrapper for the K4A API with the intent of eventually adopting the new wrapper as the official C++ playback wrapper
2019-04-01 17:23:56 -07:00
Michael Bleyer 9350ae054f Chris' and Wes' comments 2019-04-01 16:15:58 -07:00
Michael Bleyer 9facf97883 fixing ut 2019-04-01 14:45:53 -07:00
Jacob Wirth 3c00806aa4
Remove null-termination byte from attachment (#211) 2019-04-01 14:38:23 -07:00
Michael Bleyer 78deca6a8b fixing ut 2019-04-01 13:45:25 -07:00
Michael Bleyer 9c114a319f SSE code for depth to xyz 2019-04-01 11:42:46 -07:00
wes-b 446e057cf1
Switching BGRA32 modes to match what we want to benchmark with (#205) 2019-04-01 11:19:26 -07:00
Matt Schulte 1f258fa660
Updates Linux tool FindConnectedPort (#204)
FindConnectedPort now fails on no connection excersier found
2019-03-29 14:48:20 -07:00
Billy Price 09d9b5b277
K4AViewer: Make dock resizeable, extract dock logic into reusable class (#206)
Various improvements to the dock logic:

- Extract the dock logic out into a reusable class
- Add support for resizing docks by dragging
- Add support for docks attached to different edges of the window
- Fix several UI scaling bugs that manifest only when a dock takes up most of the screen
This will be used to support adding a log viewer pane when we have an API for getting logs.
2019-03-29 13:59:45 -07:00
Jacob Wirth f5b25cdf06
Limit the Cues index when recording (#203) 2019-03-29 12:37:00 -07:00
Derek M d6ba0ade98
Enable issuing resets to the Color MCU (#200)
* Adding the Color Reset Device function.
* Default to issuing the reset to Color and then fall back to Depth if that fails.
2019-03-29 10:19:53 -07:00
Jacob Wirth 71ad161ee9
Playback API read-ahead (#189)
* Replace find_next_block with separate find and next functions
First "working" read-ahead

* Fix in-memory clusters being re-read

* Hugely improve read-ahead performance

* Code cleanup

* Read-ahead more clusters to fix latency issues with empty clusters

* Fix git merge changes

* PR comments

* Fix function signature

* Fix clang build

* Whitespace
2019-03-28 17:28:42 -07:00
Matt Schulte 9be96b6c9e
Do not recursively checkout submodules (#201) 2019-03-28 16:24:56 -07:00
Matt Schulte 52f2f637d9
Removes atl and adds shlwapi.lib (#199) 2019-03-27 23:36:57 -07:00
Billy Price dc578399bb
K4AViewer: Move video playback to a separate thread (#191)
Move video playback to a separate thread to fix timing so the playback speed approximately matches the speed at which events in the recording took place

Also includes cleanup of a lot of the 'frame' naming, which predated the concept of an 'image object' in the K4A API, and cleanup of the image conversion logic; now, the converters convert from one k4a::image to another k4a::image rather than using custom intermediate formats. This will eventually help support RGB point cloud visualization in arbitrary recordings.
2019-03-27 16:50:41 -07:00
Matt Schulte ff070018a7
Fixes cmake config break on CMake 3.11 and no nasm (#195) 2019-03-27 15:36:32 -07:00
wes-b 36e7f8fb9d
Consolidate logging style (#186)
* Consolidate logging style

* Linux build break

* Fixing more Linux issues
2019-03-27 11:01:19 -07:00
Matt Schulte b3a427b80a
Fixes compat with CMake 3.10 (#192) 2019-03-27 08:45:48 -07:00
Billy Price abca4f42b5
K4AViewer: style/readability fixes (#167)
Improve readability of K4AViewer code by
- removing all non-const lvalue references (except operator overloads)
- removing the nonstandard AssertionException class in favor of the more common std::logic_error
2019-03-26 18:27:56 -07:00
Billy Price 3218b30075
K4AViewer: point cloud bugfixes (#187)
Fix two bugs in the point cloud viewer:

- A black pixel was being shown at (0, 0, 0) (all the depth pixels with no data got drawn here)
- Invalid pixels in the XY tables were not being handled correctly by the shaders, which caused a streaks of nonsense data in the color point cloud
2019-03-26 16:50:03 -07:00
Jacob Wirth 378276db8c
Add Playback API cluster caching structure (#142)
* Start of cluster caching work

* First working cluster cache implementation

* Enforce file io thread safety

* Remove timer and debug code

* Clean up code

* Fix comment

* Code cleanup and PR comments

* Fix debug build break

* Fix PR comment
2019-03-26 14:46:34 -07:00
Matt Schulte 4875cd30f4
Enable NASM on Linux and Windows (#184)
* Fixes nasm builds with ninja

* Add nasm to windows builds

* Enable nasm on linux
2019-03-26 11:12:52 -07:00
Matt Schulte 2ec763cde1
Updates license text to follow guidance (#185) 2019-03-26 10:52:02 -07:00
Matt Schulte 1b4e42c757
Enables CI for VS2019 (#181)
* Enables CI for VS2019

* Try different yaml

* Fixed VS2019 build breaks

* Removed vs2019 msbuild generators

* Only publish from vs2017
2019-03-26 09:27:19 -07:00
Billy Price 9bfdb3ee78
K4AViewer: Add IR hovered pixel value to overlay (#168)
Add a template specialization to show the value of the pixel being hovered in the IR window
2019-03-25 17:29:08 -07:00
Andrew Duan b28a84531d
Seperate transform engine to different thread to avoid OpenGL context conflict with client on Linux (#172)
* Seperate transform engine to different thread to avoid OpenGL context conflict with client

* Clean up

* Fix Linux thread stop

* address comments

* Fix linux build

* fixing lock in process frame

* Small fix

* Being back two comments
2019-03-25 16:56:33 -07:00
Chris Edmonds db326bb006
Merge pull request #182 from Microsoft/revert-162-user/minpark/Linux_Color_Camera
Revert "Enable color functional tests on Linux"
2019-03-25 16:20:34 -07:00
Chris Edmonds 0eba1baaf2
Revert "Enable color functional tests on Linux" 2019-03-25 15:32:46 -07:00