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

203 Коммитов

Автор SHA1 Сообщение Дата
Derek M e8cec587bd
Implementing the firmware update interrupt tests (#164)
Refactors the firmware update tests to make it easier to implement the interrupt tests.
Implementing the interrupt tests.
2019-03-22 16:13:10 -07:00
Chris Edmonds 7f943693f5
Merge pull request #162 from Microsoft/user/minpark/Linux_Color_Camera
Enable color functional tests on Linux
2019-03-22 11:35:09 -07:00
Chris Edmonds 5bca7ae6a4
Merge branch 'develop' into user/minpark/Linux_Color_Camera 2019-03-22 10:38:19 -07:00
Billy Price a6baff5846
Add simple viewer example (#150)
Add a simple OpenGL-based viewer tool that viewer tool as an example so developers can quickly get started with their own viewer tool.

The simple viewer borrowed some code from the full K4AViewer tool; as part of this, cleaned up some of that code as well
2019-03-21 14:49:38 -07:00
Matt Schulte 8f45cd98e6
Switches build to grab doxygen from sourceforge (#156)
* Switches build to grab doxygen from universal pkg

* Revert "Switches build to grab doxygen from universal pkg"

This reverts commit da87d7c1ca921ab77a3e0a1e20a3946db4428a19.

* Download from sourceforge

* Fix filename
2019-03-21 10:52:20 -07:00
qqzen 0f60b3bc82
Merge pull request #161 from Microsoft/user/qizen/k4arecorder_exposure_control
Exposure control added in k4arecorder
2019-03-21 09:42:25 -07:00
qqzen 0b59ca0ee7
Merge branch 'develop' into user/qizen/k4arecorder_exposure_control 2019-03-20 16:51:33 -07:00
Qi Zeng 37821143ae add #include <math.h> 2019-03-20 16:28:02 -07:00
Qi Zeng fc4a5ae37b add accepted range of exposure value 2019-03-20 15:46:25 -07:00
Chris Edmonds 797c436cfa
Merge branch 'develop' into user/minpark/Linux_Color_Camera 2019-03-20 13:17:23 -07:00
wes-b 1c720deedd
Add CPP support to K4A_DECLARE_CONTEXT (#149)
* When compiled into a CPP file new/delete are used for the context.
When called from a C file malloc/free are used. UT's have been
added to confirm this.

* addressing comments

* addressing build error, nothrow appears to be a CPP17 feature

* adding nothrow back

* reverting nothrow from record tests, this was unintentional

* Single allocation
2019-03-20 10:14:58 -07:00
Qi Zeng 7cd8683a1a Exposure control added 2019-03-20 09:48:03 -07:00
Chris Edmonds ece3148b69 Merge branch 'user/minpark/Linux_Color_Camera' of https://github.com/Microsoft/Azure-Kinect-Sensor-SDK into user/minpark/Linux_Color_Camera 2019-03-20 09:11:16 -07:00
Chris Edmonds c1a449ba03 Re-enable Linux color tests 2019-03-20 09:10:54 -07:00
Chris Edmonds 1e22633edd
Merge pull request #160 from Microsoft/user/minpark/Linux_Color_Camera
User/minpark/linux color camera
2019-03-19 23:28:59 -07:00
Chris Edmonds 1cef697bd9
Merge branch 'develop' into user/minpark/Linux_Color_Camera 2019-03-19 20:58:50 -07:00
Chris Edmonds e966f4f9ae Fix build errors 2019-03-19 20:18:55 -07:00
Chris Edmonds 571ada3608 Fix clang format issues 2019-03-19 15:57:19 -07:00
Chris Edmonds 6fef8b2dd9 Address PR feedback 2019-03-19 15:48:35 -07:00
Andrew Duan 2a4e6d925f
User/axduan/add mm in parameter name (#159)
* Add mm in the parameter name to bring more clarity

* Small change

* remove _in from the name

* Add unsaved file

* addressing comments

* update doxgen

* clang format
2019-03-19 14:00:52 -07:00
Chris Edmonds 09b5380a2b
Merge branch 'develop' into user/minpark/Linux_Color_Camera 2019-03-19 11:59:54 -07:00
Billy Price 9e6916f91f
K4AViewer: Adjust playback timestamps based on recording metadata (#155)
K4A recordings have an embedded timestamp offset that indicates how far off the master the timestamps in the recording are. Adding this to the timestamps on the images in the recording lets you correlate timestamps between multiple synchronized recordings.

Previously, we weren't doing that addition automatically, which made it awkward to step through synchronized recordings in K4AViewer; this makes the viewer show the adjusted timestamps instead.

Also fix a couple bugs:

- The C++ wrapper version of set_timestamp and set_exposure_time didn't work on systems where the representation for std::chrono::microseconds was int64_t due to an overflow when casting uint64_t::max to int64_t
- There was a race condition in performance counter initialization that sometimes resulted in a segfault when registering the perf counter because the std::map containing the list of perf counters was being used before it was constructed (timing issue, seems to only happen when broken into the debugger)
2019-03-19 10:19:26 -07:00
Matt Schulte ad83ca264a
Move to using findconnectedport outside agent dir (#154)
* Move to using findconnectedport outside agent dir

* Move to /home/eden
2019-03-18 18:04:55 -07:00
Matt Schulte 9dec7fe7f9
Document the need for the depth engine to use the SDK (#148) 2019-03-18 09:03:11 -07:00
Matt Schulte a36bccdd9f
Only run functional tests internally (#147) 2019-03-15 11:26:30 -07:00
wes-b 0b6adf2988
Misc Changes (#140)
* Added flag to run without IMU, Cleaned up missing sample calculation, hopefully that will stop the syncd capture count for going above 100.

* saving

* commit fix up

* fixed up magic number
2019-03-15 07:58:55 -07:00
Matt Schulte 417c43c296
Removes component governance from github repo (#131) 2019-03-13 10:50:11 -07:00
qqzen 20a238acc5
Merge pull request #130 from Microsoft/user/qizen/cmake_option_audio_fw_check
Add compiler runtime option to build special K4A SDK for MTE
2019-03-13 10:29:20 -07:00
qqzen 75c59b8555
Merge branch 'develop' into user/qizen/cmake_option_audio_fw_check 2019-03-13 10:09:43 -07:00
Matt Schulte b805a1ae67
Remove imported lib from libyuv (#129)
In libyuv the imported lib for the DLL has the same name as the static
lib. Thus, there is a target conflict that the lastest version of ninja
will complain about.

This works around this issue by tricking cmake into not generating a
import lib for libyuv as we use the static lib only.
2019-03-13 09:36:26 -07:00
qqzen f7ae09bcd8
Merge branch 'develop' into user/qizen/cmake_option_audio_fw_check 2019-03-13 09:29:07 -07:00
Matt Schulte 0928cf1b76
Merge pull request #128 from Microsoft/master
Remove old firmware folder
2019-03-12 22:38:14 -07:00
Matt Schulte 68a225d47f Remove old firmware folder 2019-03-12 22:11:56 -07:00
Qi Zeng 4cdb366ea2 update using target_compile_definitions 2019-03-12 17:18:08 -07:00
Jacob Wirth 6f78ffe6e4 Fix mkvalidator warnings on generated recordings (#124) 2019-03-12 17:17:34 -07:00
Qi Zeng 2dcf80e6a3 update fw version to correct one 2019-03-12 16:42:31 -07:00
Qi Zeng 8130c8cbb6 update fw version to correct one 2019-03-12 16:40:02 -07:00
Qi Zeng cc030d4b2a working with option cmake -DK4A_MTE_VERSION=ON -GNinja .. 2019-03-12 16:38:22 -07:00
Billy Price 200ca80df0 K4AViewer: Assorted bugfixes/improvements (#123)
Assorted fixes for K4AViewer and documentation, specifically:
- Removed the outdated firmware version check (this is now handled by the API itself)
- Add a bounds check for the internal sync control so you can't specify an illegal delay
- Adjust the graphing ranges/defaults for the gyroscope so it's easier to see movement
- Update some comments in the C++ wrapper to clarify that the constructors that take C handles take ownership of those handles
- Remove unnecessary private add_reference functions from C++ wrapper
- Fix a bug where K4ARingBuffer was reporting full when it was 1 item under capacity, resulting in us lagging by a frame
- Change K4ARingBuffer to use pointers instead of references for readability
2019-03-12 11:36:51 -07:00
Jacob Wirth f498f3b05a Fix recorder write thread so it can catch up if queue falls behind (#122) 2019-03-12 10:08:23 -07:00
Billy Price d4ee28b3cc K4AViewer: Add RGB point cloud viewer colorization (#121)
Add RGB colorization option to point cloud viewer

To make this performant, some things had to be moved to the GPU:
- Conversion from depth to XYZ coordinates
- Computation of normal vectors for depth-shaded point cloud mode

RGB colorization is only supported in BGRA mode, so as part of this, the default video mode has changed to BGRA so that the default settings allow all point cloud modes.
2019-03-11 15:02:52 -07:00
Billy Price be9e888367 Add C++ wrappers (#86)
Add C++ wrapper for the K4A API
2019-03-11 11:02:23 -07:00
BrentA-Microsoft cac171d022 Fix documentation error in format descriptions (#119)
* Fix format documentation
2019-03-11 10:26:36 -07:00
wes-b ab77f81497 Min firmware version upgraded to 1.5.926614 (#120)
* Min version upgraded to 1.5.926614

* fixing build error
2019-03-10 10:54:20 -07:00
BrentA-Microsoft b0c33e3d68 Documentation review (#118)
* Documentation review changes
2019-03-07 12:39:22 -08:00
Vincent Wen 9258c7ae10 Small bug fix on the transformation example (#116)
tjDestroy returns 0 on success
2019-03-06 16:36:39 -08:00
BrentA-Microsoft 20a83620b5 Documentation review changes (#114)
* Documentation edits
2019-03-06 14:40:38 -08:00
Matt Schulte 7b43609aca Stops libjpeg-turbo setting CMAKE_INSTALL_PREFIX (#115)
libjpeg-turbo has logic to detect if CMAKE_INSTALL_PREFIX has been set.
If it has not, libjpeg-turbo sets the default to /opt/k4a (on Linux).
We do not want that.
2019-03-06 19:43:23 +00:00
Vincent Wen 3f6bdc7054 Extended the transformation example to extract a frame in a recording as a point cloud (#104)
Added playback mode to transform point cloud from a recording
2019-03-05 18:11:52 -08:00
Matt Schulte 4c2803b85d Adds libuvc to our list of open source projects (#111) 2019-03-05 22:18:47 +00:00