Skip to content

Replace forward references with header file#286

Open
alvgaona wants to merge 2 commits intokoide3:masterfrom
alvgaona:fix/forward-references
Open

Replace forward references with header file#286
alvgaona wants to merge 2 commits intokoide3:masterfrom
alvgaona:fix/forward-references

Conversation

@alvgaona
Copy link

@alvgaona alvgaona commented Jan 27, 2026

  • Improves readability and maintainability
  • Compilation time is still fast

Forward references for GSTAM are aliases rather than classes.
Defining them as forward reference clases require unnecessary
processing. Better to use header files.
- Replace forward declarations with actual includes in callbacks.hpp, sub_mapping.hpp, data_validator.hpp, and interactive_viewer.hpp
- Add proper GTSAM includes instead of relying on forward declarations
- Fix smart pointer dereference in odometry logging
- Improve type safety in convert_to_string with size_t and vector<bool> specialization
@alvgaona alvgaona force-pushed the fix/forward-references branch from 2a37411 to 121e5bd Compare January 27, 2026 15:47
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