* 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
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.
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
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.
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.
When the OS mutes the K4A mic, libsoundio gives back a 'hole' in the sound buffer. We were treating this as an error condition, which it actually is not, and trying to fail. This change stops treating the 'buffer hole' as an error condition.
There was another bug where we weren't aborting the sound polling thread immediately upon realizing that the mic had failed, which was resulting in an AV when we tried to write back to the mic after tearing it down in the error handling code. This change also adds that missing abort.
- Fix a bug where if the depth camera is completely obstructed the point cloud viewer stops working
- Fix auto/manual color control labels to show current state instead of the state that clicking the button will put the camera in
* More logging from transformation
* Address comments
* Better parameter passing in transformation API and update transformation ut to run module function instead of k4a
* address comments
* Fix linux clang error
* ninja clangformat