Skip to content

feat: CARLA build support for Unreal Editor dependency, OBJ loader, Blender normalization and calibration - #4

Draft
im-hashim wants to merge 2 commits into
carla-simulator:masterfrom
im-hashim:fork/vehicle_import/build-from-src
Draft

feat: CARLA build support for Unreal Editor dependency, OBJ loader, Blender normalization and calibration#4
im-hashim wants to merge 2 commits into
carla-simulator:masterfrom
im-hashim:fork/vehicle_import/build-from-src

Conversation

@im-hashim

@im-hashim im-hashim commented May 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Extends the vehicle import pipeline with full-stack CARLA/Unreal build support, a hardened mesh pipeline, and Blender integration.

Build

  • Full-stack build path: CARLA_DIR + UNREAL_DIR now wire through CMake to produce a build that includes UnrealEditor support alongside the standalone Studio binary
  • Absolute path resolution for CARLA_DIR/UNREAL_DIR in Makefile to prevent relative-path issues when invoking from outside the repo root
  • libcarla headers brought to C++17 compliance
  • Fixed all implicit qsizetypeint and qint64 → implicit conversions across vehicle import files (carla_spawn.cpp, editor_process.cpp, importer_client.cpp, mesh_aabb.cpp)
  • Fixed deprecated [=] lambda captures capturing this implicitly (C++20) — updated to [=, this] throughout vehicle_import_page.cpp
  • Added missing standard and Qt includes across the vehicle import module
  • Moved view_gizmo.h include under its CARLA_STUDIO_WITH_QT3D guard; added missing stub implementations for the non-Qt3D path

Mesh pipeline

  • Robust OBJ loader: handles degenerate faces, negative indices, and missing UV/normal data without crashing
  • Smooth normals from Blender exports are preserved and forwarded correctly through the import pipeline
  • Mesh diagnostics: reports vertex count, face count, malformed faces, and AABB per imported asset

Blender integration

  • blender_calibration: drives a Blender subprocess to apply wheel positions, suspension geometry, and axle offsets exported from Studio directly back into the source .blend file

Test runner

  • Stripped --update-documentation from argv before passing to QTest::qExec — QTest rejects unknown flags, which was causing make test to fail when that flag was present

…libration

- CARLA_DIR + UNREAL_DIR full-stack build with UnrealEditor support
- Robust OBJ loader, Blender smooth normals, mesh diagnostics
- libcarla C++17 fixes
- Absolute path fix for CARLA_DIR/UNREAL_DIR in Makefile
- Blender calibration
@im-hashim im-hashim changed the title feat: full-stack CARLA build, OBJ loader, Blender normals, blender ca… feat: CARLA build support for Unreal Editor dependency, OBJ loader, Blender normalization and calibration May 14, 2026
…import

Fixes all qsizetype/int implicit conversions, missing includes, and
deprecated [=] lambda captures that blocked clean builds with -Wconversion
and -Wsign-conversion. Also fixes QTest flag filtering in the test runner
and moves view_gizmo.h include under the Qt3D guard where it belongs.
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