Repository navigation
Conversation
Add cloud and trajectory layers with asynchronous import, confirmed coordinate offsets and persistent raylib buffers. Expose controls through a collapsed Layers panel and Ctrl+L, and keep overlays and navigation active during cache preparation.
Write trajectory_step1.laz alongside saved results with twelve named Extra Bytes for indices, clocks, optimized orientation, distance and derived speed. Include all stored poses, declare missing values as NaN and report failures through the export result.
|
I have attempted to build the foundation for working with the imported point clouds. I followed a similar approach for the automatic export of the trajectory. Aspects related to ergonomics, as well as the implementation of additional features, can be addressed in future iterations—potentially following some specific proposals. |
|
“Reference point clouds for initial alignment” and “Overlay / Layers” currently use separate loading mechanisms. Reference clouds feed the NDT alignment process, while overlay clouds are used only for visualization. A cloud loaded as an overlay therefore needs to be loaded separately as a reference to align the initial points to it. In the future, we could connect these workflows by allowing an existing overlay cloud to be selected as the alignment reference, avoiding the need to load the same file twice. |
|
The primary purpose of this PR is to compare trajectories visually while a new trajectory is being computed. Users can overlay trajectories generated with different parameter settings to understand where the results diverge and how those differences develop. The live trajectory visualization introduced in PR #611 supports this comparison. Point clouds representing real surfaces can also be added as spatial references, helping users assess the trajectories against the surrounding geometry. |
There was a problem hiding this comment.
I do not understand why it should be in step1 . Step 1 is simple LIO.
Next tools should be used for analysis and export.
In step2 you can register to TUM trajcetory. I really see no need for this feature.
We have whole suite for benchmarking here https://mapshd.github.io/benchmark_results/#bunker-dvi-reg-1.
It should not be done in step1 GUI.
|
First of all, why should I have to wait until step 2 to verify a trajectory, when it is actually generated during step 1? Currently, in step 2, I can only load a session to view or save a trajectory. |
|
Secondly, I don’t believe that the tools in step 2 are equivalent; its purpose is different. |
|
From my point of view, once the instances of non-closure fall predominantly below 0.5%, step 2 will become uninteresting, given that it only addresses a single session. An intelligent PGS, followed by an export of the registered point cloud. |
|
Regarding the benchmark, it shouldn't be viewed as a crystal ball that reveals exactly what needs to be done; rather, it is a fair assessment of your proposal. It doesn't specify the conditions under which the deviation (error) tends to accumulate the most. In this sense, a result could be substantially improved by adjusting just a single parameter—meaning you might actually be close to success, even when the results suggest otherwise. The solution lies in details other than RPE. |
|
I remain open to suggestions. Beyond the points already mentioned, there are other reasons why I understand your concern regarding the inclusion of this functionality in Step 1; however, it is not yet clear to me what specific changes you would like me to make. The intended use case is to compare previous trajectories with the currently calculated trajectory, allowing users to evaluate parameter choices during processing. Would a more limited approach within Step 1 be acceptable, or are you requesting that the overlay functionality be moved entirely to a different tool? |
|
Hi It is great opportunity to introduce HDMAPPING-SLAM @dancmari can You move all Your effort to HDMAPPING-SLAM tool. Please start working on it. @michalpelka can You help us with clearing step1? By removing functionalities that will go to HDMAPPING-SLAM tool. HDMAPPING-SLAM = step_1 + step_2 + step_3 |
|
Comparing trajectories is one in step3 So, please prepare |
|
|
One of the ideas guiding me is to make Step 1 visually engaging—to let users see and understand the process as it unfolds. There is also a quiet CLI version at the other end of the spectrum, which has not yet received much attention |
|
please design seprate tool for this PR. Do not affect existing workflow. Step 1 - single trajectory, Step 2 - single trajectory, step 3 - multiple trajectory |
Compare the live Step 1 trajectory against earlier runs and external point clouds without changing the odometry inputs or results. Refs #614.
This draft now covers display-only overlays. Automatic trajectory LAZ export has been separated from this PR. The branch includes the current main (
3d3a8054); the net change is limited to four overlay/GUI/CMake files.Behavior
Integration
OverlayLayersowns the import UI and rendering in its own header/source pair. It reusescore_e57, shared native file dialogs, raylib buffer parts, and the shared GLSL palettes. The existing link interface already supplies E57, so no extra application dependency is introduced.LAS/text imports stream data to enforce a retained-point budget and support cancellation while preserving source order; the existing session/TUM loaders materialize complete inputs. The small overlay shader supplies native RGB and independent intensity shading across color modes, which the current
ScanRendererdoes not expose. GPU packing uses EigenMap/cast. Unchanged geometry stays resident; appearance/camera changes reuse it, and render-stride changes update indices.Processing, saving, command-line options, and output formats match main. Overlay data never enters the processing bucket maps.
Validation of this revision
Limits and placement
E57 uses the existing full-file decoder before sampling, so its peak RAM is not bounded by the retained-point budget and cancellation waits for decoding. Render stride does not release retained geometry. Layer settings are not persisted across restarts.
The PR remains a draft for agreement on Step 1 placement in light of the maintainer discussion about a future HDMAPPING-SLAM application.