Refactor codebase to improve performance, maintainability and usability#68
Open
flferretti wants to merge 11 commits intomainfrom
Open
Refactor codebase to improve performance, maintainability and usability#68flferretti wants to merge 11 commits intomainfrom
flferretti wants to merge 11 commits intomainfrom
Conversation
1729d04 to
e9dae82
Compare
09c4db3 to
9a50870
Compare
- Add LRU cache for repeated SDF content processing to avoid redundant subprocess calls - Optimize temporary file handling by writing directly to /tmp on Unix systems - Add environment isolation (IGN_PARTITION/GZ_PARTITION) to prevent interference - Implement batch processing support for multiple descriptions - Add cache management with clear_cache() method - Improve string parsing with early exit for SDF tag detection - Use optimized subprocess bufsize for better I/O performance
5cb9e28 to
d43b8f4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR enhances the codebase by fixing typos, refactoring classes, and optimizing Gazebo SDF processing with caching and batch support. Moreover, it updates the build system to use
hatchlingand improves the command-line interface.First loading run:
Successive loading run:
Switching model frame convention to URDF:
Exporting to URDF:
Test Script