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

24 Коммитов

Автор SHA1 Сообщение Дата
wes-b 6dea37e560
Arm64 Support (#1108)
* Adds ARM64 toolchain file and logic to determine target architecture

* Enables non-sse version of rgbz transformation

* Adds arm64 cross compile support to Dockerfile

* Add ARM64 builds to pipeline

* Enabling Functional Testing on ARM64

* Updating Display for ARM64 and glxinfo

* fixing up build artifact names

* Switch to publishing GNU binaries

* Moving DepthEngine properly

* Moving DepthEngine properly

* fixing case

* Don't run multi device tests on ARM64

Co-authored-by: Matt Schulte <schultetwin1@gmail.com>
Co-authored-by: Matt Schulte <maschu@microsoft.com>
2020-03-06 09:06:21 -08:00
wes-b 15b116708b
Dynamically link the C++ runtime (#730)
* green screen builds and runs in debug

* added opencv_example

* Removed MSVCStaticCrt.cmake, updated changelog.md

* changed CRT linking for libjpeg-turbo

* Cleaned up WITH_CRT_DLL directive in libjpeg-turbo

* fixed flush issues with streaming test and 1 off failures, all executable_ft tests dump logs, updated link in MD to point to Azure Kinect user voice
2019-09-09 16:17:52 -07:00
wes-b 467d8272fa
Green Screen tests should not run as part of functional tests (#729)
* Ready for automation

* address PR comments and cleaned up other MD files based on the feedback.
2019-09-06 14:47:44 -07:00
Steven Schulte ed6f22bf7d
Add Green Screen example (#619)
* Added beginnings of greenscreen example

* More progress, try/catch

* runs and sometimes gets all captures

* WIP, but closer.

* Single-camera greenscreen works! But it's slow

* it's getting closer to working now and that's cool

* further progress, not compiling

* Calibration runs, unclear if correct

* still WIP but coming along

* still not working- calibration may not even be necessary

* closer to working, sane results but not similar when moving calibration board

* Still not perfect but consistently good

* homogeneous matrix constructed reasonably

* Greening partially working

* CLeanup and fix averaging incorrectness

* Added fix for reversed calibration points bug

* Mostly comments

* Working on a refactor and adding lots of explanation

* Started refactor, fixed images desynchronizing

* Better debugging and not dropping as many frames

* debug commit

* fixed slowness, starting to come together

* More refactoring, mostly towards fewer vectors

* yet more refactoring

* Comment changes and made some long code a function

* Removed unnecessary try-catch

* More comments, cleanup, and less output params

* Less output parameters

* deleted extraneous function

* Refactor a function to not have output args

* another output param refactor

* reformat comments

* Added command-line options and fixed chessboard size issues

* Explain some constants

* Account for subordinate color-to-depth delay

* threshold now a command line arg

* Use Matx and factored transformation code mostly out

* Only use one configuration object for each

* Moved synchronization logic to MultiDeviceCapturer

* minor comment clarifications

* Cleaned up displaying a bit

* Improved greenscreening logic

* Calibration now uses many images

* Minor cleanup

* Fixed unclear indentation of comments

* It's 'green screen', not 'greenscreen'

* clangformat wants this, though it's not very clear

* Set background completely green

* Fixed incorrect usage of calibration

* Added WIP README that provides info + background

* Changed master-sub to main-backup in main to clarify purpose of devices

* Hopefully sets up OpenCV as a dependency properly

* Fixed typo in opencv install

* Pre-search was failing, so don't pre-search

* Construct new calibration object, not modify old

* Consistency in camera name ordering

* Fix out-of-date comment

* More explanatory comment on transformations

* Added copyright headers

* Backup to secondary, hopefully more clear

* Added more and better error messages

* Refactor to not have vector of devices exposed

* Remove GetOpt dependency, debug viz

* Fixed issues with the merge

* Attempt to get OpenCV conditionally required

* Fix up some CMake issues and installation issues

* Missed update to yaml

* Added OpenCV library folder

* Try to include opencv2 includes

* Should not use that include dir like that

* Install opencv from binaries on Windows attempt

* Install opencv, add to path, tell cmake

* Set env vars with logging commands

* Don't bother with OpenCV for x86 builds

* removed files that snuck in

* Don't get OpenCV unless it's a 64-bit OS

* Don't try OpenCV if we're building for x86

* no space

* fail when decoding fails

* Compile opencv example properly

* Modify build because we need to know target arch

* removed endif which causes compilation failure

* Fixed up warning

* Attempt to be able to use one or two cameras

* Should properly check arch now for installing OpenCV

* Needed quotes

* Attempt to clean up azure pipelines logic

* I don't actually know Azure Pipelines

* Attempted cmake config fix

* use variables better?

* Don't think I should use expressions there

* Another attempt to fix Azure Pipelines issues

* Fixed weird opencv error by using BGRA not MJPG

* One-device and two-device greenscreen modes work

* Fixed OpenCV example test

* Clarified comment

* Temporarily disable Linux testing until test infra updated

* attempt to fix occasional OpenCV download failures

* Need PS6 for retry options

* Don't install OpenCV unless specified. Fixes Linux build, hopefully

* Add options for calibration timeouts and greenscreen duration

* Now no longer assume OpenCV is required on Linux

* Added single and double camera greenscreen example tests

* Adjusted numbers in script for different calibration board in testing

* See if issue is PATH or similar

* Added better logging for error for functional unit tests

* install opencv on test machine

* Hopefully fix some of the issues with functional tests

* Factor out install of opencv into a script

* OpenCV-based tests should now not run unless OpenCV is installed

* Don't install OpenCV on test machine but make sure it's there

* typo

* Try again to install OpenCV on test

* Remove install opencv now that it's installed

* Fixed a lingering "checkerboard" to "chessboard"

* Use an Ubuntu 18.04 image and try to use the Ubuntu functional tests

* Properly add the OpenCV tests if it's available

* Don't bootstrap ubuntu because we have a docker image now

* Don't install OpenCV, it's already in the Docker container

* Remove confusing offset for devices in MultiDeviceCapturer

* Build with Clang

* No braces needed

* A few more fixes from not using a vector for configs

* More updates to README

* Workaround for debug version of OpenCV on Windows

* Explanations for the OpenCV LIBS issue and for green screen logic

* Re-expanded correct sync window until firmware is updated

* Greenscreen with background, not green

* More modern CMake

* No need to find package here

* Added findopencv so no need to specify -DOpenCV_DIR
2019-08-30 17:11:58 -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
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
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
Jacob Wirth 95f1d95f1f
K4ARecord cmake project cleanup (#299)
* Move k4arecorder to tools/
Add k4aRecordConfig.cmake
Remove some unnecessary unique_ptr objects from record context

* Fix k4aTargets export

* Fix build

* Fix build (#304)

* Fix find_package(k4arecord)

* Whoops

* Case sensitive rename.............

* Another cmake fix
2019-05-01 17:48:56 -04:00
Matt Schulte b2138f7344 Merge branch 'release/1.0.x' into merge_release_into_develop 2019-04-26 09:45:05 -07:00
Jacob Wirth 29ef39dd66
Fix build in Ubuntu 18.04 clang 6.0.0 (#276)
* Fix build in Ubuntu 18.04 clang 6.0.0

* Globally allow double-promotion instead of on a case-by-case basis
2019-04-25 18:10:44 -04:00
Matt Schulte 67e7ba101a
Build and statically link in LibUSB (#269)
* Add libusb as submodule

* Builds cmake from source

* Fix zero-length-array errors from libusb
2019-04-23 15:30:42 -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
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 b157cfbb89 Fixes python finding to find python 3 (#100)
* Fixes python finding to find python 3
2019-03-04 21:34:47 +00:00
wes-b 3da2826b21 Misc Bug fixes (#90)
* Fixing comment, log flush, MF allocations, and throughput_perf bugs

* adding misc bug fixes

* addressing feedback

* Fixed Linux build
2019-02-27 10:46:06 -08:00
Derek M c9dc4df230 Updating and standardizing the copyright headers in all of the files. (#87)
Updating and standardizing the copyright headers in all of the files.
2019-02-22 10:31:47 -08:00
BrentA-Microsoft 27c037c98b Merge pull request #83 from Microsoft/release/0.8.x
Merge Release/0.8.x into develop
2019-02-20 11:24:58 -08:00
BrentA-Microsoft aa78d68546 Added optional filerevision metadata (#82) 2019-02-19 18:00:48 -08:00
Derek M 184118dceb Creating an intial Firmware Test (#63)
* Introducing a new type of tests, the Firmware tests.
* Adding a basic golden path test case that verifies we can update to the firmware and then back to the LKG.
2019-02-15 13:04:03 -08:00
wes-b 988e23e576 Code Cleanup, TODO's and comments (#53)
* Code cleanup done

* Addressing PR feedback

* Fixing Linux build errors

* fixing function comment
2019-02-11 15:16:54 -08:00
BrentA-Microsoft 8b5bc34348 Add version resource to binaries (#52)
* Add version resource to binaries
2019-02-11 13:11:12 -08:00
BrentA-Microsoft 4b1f46ae9e Removed dynamic version number generation (#44)
* Removed dynamic version number generation
* Changed default version to 1.0.0-private
2019-02-08 12:19:04 -08:00
Matt Schulte e95afdde7c Updates test discovery step in build (#29)
CMake will run built gtest executables as part of the build in order to
determine the tests in the executable. The default timeout for this run
was 5 seconds but our CI system has been hitting this recently. In order
to accomedating slow VMs in the cloud we are extending the timeout to 60
seconds.
2019-02-06 09:19:19 -08:00
Matt Schulte abb3b68a3b Moves the K4A SDK to open source project 2019-01-26 14:04:57 -08:00