Repository navigation
Conversation
Report pre-decimation counts for each discovered head, including silent heads. Keep the existing LiDAR plugin ABI and support older recorder browsers.
saveMlaz() writes exactly the LAS records and header saveLaz() writes for the same buffer (same decimation, bounds, quantization), except generating_software = "Mandeye mLAZ <version>". Codec from the 3rd/mlaz submodule pinned to 1.0.2; zstd and zlib from the system. test/mlaz builds without LiDAR SDKs and compares saveMlaz against saveLaz byte for byte (records decoded by laspy/lazrs). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"point_format" in /media/usb/mandeye_config.json, read at start: laz (default, also when missing), mlaz, both. Unknown value or a LiDAR SDK other than LIVOX_SDK2 -> LAZ and a warning on the web page. In both mode LAZ is written first; a failed mLAZ-only save falls back to LAZ. The .mlaz file stores the same LiDAR list as lidarNNNN.sn. statusNNNN.json reports point_format (configured, effective, warning, last_chunk) and lastMlazStatus. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… path The web server thread starts before the config is read, so point_format is set and reported under lastMlazMutex. test_save_mlaz checks that a failed mLAZ save returns nullopt without throwing and leaves no file behind (LAZ fallback relies on it). README: full commands for the test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an mLAZ writer (codec as submodule 3rd/mlaz, tag 1.0.2) next to LAZ.
Off by default: without "point_format" in /media/usb/mandeye_config.json the
controller calls saveLaz exactly as before. "mlaz" or "both" enable it for
LIVOX_SDK2 only; other LiDARs or unknown values fall back to LAZ with a warning
on the web page. A failed mLAZ save falls back to LAZ. The format of each chunk
is reported in statusNNNN.json and on the web page.
Test without LiDAR SDKs: test/mlaz (see README) - decoded .mlaz equals the
uncompressed LAS from saveLaz except generating_software; LAZ records (laspy)
equal mLAZ records; empty buffer and decimation covered.
Not built here: the full control_program (no pistache/gpiod on the build machine).