Skip to content

chore: remove volrover3 (moved to the transfix/volrover repo) - #141

Closed
transfix wants to merge 1 commit into
masterfrom
chore/remove-volrover3-moved-to-volrover-repo
Closed

transfix wants to merge 1 commit into
masterfrom
chore/remove-volrover3-moved-to-volrover-repo

Conversation

@transfix

Copy link
Copy Markdown
Owner

Summary

Removes the volrover3 desktop application from libcvc entirely. volrover3 was
relocated to its own repository (transfix/volrover) and should not exist
anywhere else in libcvc.

libcvc keeps cvcGL (inc/cvc/gl, src/cvcGL) — the reusable 3D engine, which
volrover3 now consumes as an external package — along with the rest of the library
unchanged. Only volrover3 is removed.

Removed

  • App source & headers: src/volrover3/ and inc/volrover3/ (dialogs, scene
    nodes, widgets, main.cpp, and the src/volrover3/tests/ suite)
  • Desktop-integration assets: share/applications/volrover3.desktop.in and the
    branding icons share/icons/volrover_logo.{png,ico,icns} (now orphaned once the
    install/NSIS rules that referenced them are gone)
  • volrover3-domain docs: docs/APPSTATE_CALLBACKS.md, docs/GRAPHICS_SYSTEM.md,
    docs/GRAPHICS_DATA_DRIVEN_UPDATES.md (verified dups now living in the volrover
    repo), and root PROCEDURAL_GEOMETRY_REFACTORING.md (a refactoring write-up centred
    on the volrover3 ProceduralGeometryDialog; the underlying libcvc
    cvc::generate_* algorithm functions remain, documented by their header and
    src/cvc/tests/procedural_geometry_test.cpp)
  • Helper/scratch files: build_volrover3.sh and test_threading_behavior.cpp
    (the latter #included volrover3/… headers and was not part of any build)

CMake changes

  • src/CMakeLists.txt — deleted the whole CVC_BUILD_VOLROVER3 block (option +
    Qt6/Qt5/VTK find_package gate + add_subdirectory(volrover3)); the CUDA note and
    everything else are untouched.
  • Root CMakeLists.txt — removed all volrover3 / CPack plumbing:
    • the volrover_logo.png desktop-icon install() block
    • CMAKE_INSTALL_SYSTEM_RUNTIME_COMPONENT changed volrover3 → libcvc (the
      CRT/OpenMP runtime now ships with the libcvc component; CMAKE_INSTALL_OPENMP_LIBRARIES
      • InstallRequiredSystemLibraries kept; nearby comments made generic)
    • CPACK_COMPONENTS_ALL → libcvc only; dropped the CPACK_COMPONENT_VOLROVER3_*,
      CPACK_DEBIAN_VOLROVER3_* entries and the cpack_add_component(volrover3 …) block
    • NSIS block de-branded from "VolumeRover3" to "libcvc": removed the app-installer
      specifics (MUI_FINISHPAGE_RUN, INSTALLED_ICON_NAME, PACKAGE_EXECUTABLES,
      CREATE_DESKTOP_LINKS, the volrover_logo.ico icon block) since libcvc is a
      library package with no app executable; kept the generic help-link/contact/modify-PATH
      metadata

README

Removed only the volrover3-specific mentions (Version-History release notes:
VolumeRover3.app bundle, the "volrover3 user-app component" line, Qt-deployment
bullet, AppImage; plus the now-deleted GRAPHICS_DATA_DRIVEN_UPDATES.md reference).
All libcvc / cvcGL content is left intact.

Verification

  • grep -rniE 'volrover3|VOLROVER3' CMakeLists.txt src/CMakeLists.txt → empty
  • grep -rlniE 'volrover3' --include=CMakeLists.txt --include='*.cmake' . (excl. .git)
    → empty
  • cmake -S . -B … -DCMAKE_BUILD_TYPE=Release → parses cleanly past both
    CMakeLists.txt files with no volrover3 / CVC_BUILD_VOLROVER3 / removed-CPack
    errors; it stops later on a pre-existing missing third-party dependency
    (libiimod in src/cvc/CMakeLists.txt), unrelated to this change.

Out of scope / follow-up

The GitHub Actions workflows (.github/workflows/{ci,nightly,release}.yml) still
carry a volrover3 build-matrix "kind" with ~40 gated build/package/upload steps.
Rewriting that CI/packaging pipeline is a large, separate structural change and is
left to a follow-up PR. Two incidental volrover mentions in core-library comments
(inc/cvc/core/{exception,namespace}.h) and the generic, currently-unused
CMake/SetupQt.cmake helper were intentionally left as legitimate libcvc content.

The volrover3 desktop application has been relocated to its own
repository (transfix/volrover) and should no longer live in libcvc.
This removes volrover3 from libcvc entirely:

- src/volrover3 and inc/volrover3 (app sources, headers, and tests)
- share/applications/volrover3.desktop.in and the volrover_logo
  icon assets (share/icons/volrover_logo.{png,ico,icns})
- volrover3-domain docs (APPSTATE_CALLBACKS, GRAPHICS_SYSTEM,
  GRAPHICS_DATA_DRIVEN_UPDATES, PROCEDURAL_GEOMETRY_REFACTORING)
- the build_volrover3.sh helper and the volrover3-only
  test_threading_behavior.cpp scratch test
- the CVC_BUILD_VOLROVER3 option and Qt/VTK gate in src/CMakeLists.txt
- all volrover3 CPack plumbing in the root CMakeLists.txt (component,
  DEB/NSIS app-installer specifics, desktop icon install); the package
  is now a libcvc-only library package and the CRT/OpenMP runtime ships
  with the libcvc component
- volrover3-specific mentions in README.md

libcvc retains cvcGL (inc/cvc/gl, src/cvcGL), the reusable 3D engine,
which volrover3 now consumes as an external package, plus the rest of
the library unchanged.

Note: the GitHub Actions workflows still reference a volrover3 build
matrix "kind"; updating the CI/packaging pipeline is left to a
follow-up change.
@transfix

Copy link
Copy Markdown
Owner Author

Closing as redundant — master already extracted volrover3 (source, CMake, CPack, and all CI workflows) via #102, merged 2026-07-16 (commit 164fcf3):

  • src/volrover3, inc/volrover3, the CVC_BUILD_VOLROVER3 option, the volrover3 CPack component, share/applications/volrover3.desktop.in, and share/icons/volrover_logo.* are already gone from master.
  • .github/workflows/{ci,release,nightly}.yml no longer carry any volrover3 build-matrix entries, steps, Qt6/VTK-for-volrover3 install, AppImage/DMG/NSIS packaging, cpack … CPACK_COMPONENTS_ALL=volrover3, or uploads — only kind: libcvc remains — and .github/scripts/verify-windows-deps.ps1 was removed entirely.

This branch was cut from a pre-extraction master (merge-base b92e70a) and only removed the source, so it now duplicates and conflicts with #102 (hence the DIRTY state). Nothing here needs to land on current master. volrover3 now lives at transfix/volrover.

@transfix transfix closed this Jul 24, 2026
transfix added a commit that referenced this pull request Sep 28, 2026
…ession, gate doc) (#459)

* nav: close three material/DBG audit follow-ups (CUDA guard, #141 regression, gate doc)

Three small nav audit gaps, investigated + closed:

1. CUDA drive silently drops the two-head learned lam heads. drive.cu is
   geometry-only (reads alpha/beta/gamma, never samples the material stack or
   applies lam_soft/lam_hard), yet drive_step_cuda validated only the INPUT
   width — so a v2 risk/lam .cvcnav net passed and ran on the GPU as a plain
   geometry drive, silently dropping the learned reroute (and d_mlp softplus-
   scales every column, so it would mis-read col3/col4 even if used). Full GPU
   material parity is a substantial feature (device material sampler + two-head
   sigmoid + force terms) tracked separately; for now add a hard-fail GUARD:
   drive_step_cuda throws on has_risk()/has_lam()/lam_sigmoid() rather than
   mislead. Test (CUDA lane): DriveStepCudaRefusesRiskLamNet.

2. cvcdbg #141 ("attach material stack to the STARTUP world under --grip")
   shipped with no regression coverage; the demo binary is not in CI. The crash
   was a risk net routed to the NON-material drive (which rejects it) with no
   material stack attached. Pin the underlying library invariant:
   NavMaterialDeploy.RiskNetRejectedByPlainDriveAcceptedByMaterialDrive —
   drive_step throws on a risk net, drive_step_material accepts it.

3. The material witness-gate "bypass" is NOT a bug: material_config.gate_enabled
   =false is fail-OPEN (every agent active, soft force applied ungated at full
   lam_soft), the documented lam_soft_eff = lam_soft * gate with the gate factor
   pinned to 1 — the core witness_gate kernels are fail-CLOSED. Only a maintainer
   misread risk. Add clarifying comments at material.h (the flag) and the
   sim_world.cpp else-branch, plus a contract test
   NavMaterialSimWorld.GateDisabledIsFailOpen so a future tidy can't flip it to 0.

Host tests pass locally (nav_material_deploy_test 14/14, nav_material_test 29/29);
the CUDA guard test builds only under CVC_ENABLE_CUDA. No behavior change on any
existing path — guard rejects only nets the GPU could not drive correctly anyway.

* clang-format the nav CUDA guard test
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.

1 participant