Skip to content

Step 1: follow the processing head and improve camera controls and help - #611

Merged
JanuszBedkowski merged 1 commit into
MapsHD:mainfrom
dancmari:HDMapping-legacy
Nov 2, 2026
Merged

JanuszBedkowski merged 1 commit into
MapsHD:mainfrom
dancmari:HDMapping-legacy

Conversation

@dancmari

@dancmari dancmari commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Step 1 follows the actual processing head smoothly and lets users choose a useful rotation center on long trajectories. Fixes #607.

  • Camera controls: left-drag orbits, right-drag pans and scroll zooms without detaching the pivot from the head. Double left-click selects the nearest visible trajectory point in screen space for temporary exploration; double right-click returns smoothly to the head at any time. Idle return defaults to 5 seconds, adjustable from 1–30 seconds in Progress, and runs only during active SLAM processing. After SLAM finishes, exploration remains free until an explicit return.
  • Correct head and interaction: publish the initial position and each completed worker's endpoint through the existing preview mutex, and use that position for following and the red head marker instead of the predicted tail. Reset head/follow state for each run, preserve orientation and zoom during recentering, apply orthographic pan to the displayed transform, and clear released mouse buttons even when ImGui captures the pointer. Selection runs only on double-click; camera movement does not rebuild geometry or upload GPU buffers.
  • Accessible help: F1 and Controls / Help buttons work during loading and processing. Replace empty shortcut placeholders with implemented controls and explain the navigation behavior. The shared raylib Info window is resizable, with a Controls tab whose table fills the available space and a separate About / camera guide tab with wrapped text. Long shortcut labels get sufficient column width; other standalone table callers retain their existing default height.

Validation: Windows Release builds of Step 1, legacy/forestry, both raw-data viewers, both odometry-based calibration tools and the camera/LiDAR trajectory viewer; local camera/projection, mouse-release, completed-run and F1/help-resize checks; a small real GUI processing run; clang-format 21.1.8. Linux GCC syntax checks cover the new camera/selection code and shared help sources. Full Linux/macOS builds are left to CI.

Only the seven functional source/header files are included. Local tests, scripts, recordings, logs and binaries are excluded.

@michalpelka

Copy link
Copy Markdown
Contributor

Why did you merged it ? I have no chance to review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add changing rotation center in step 1

3 participants