Skip to content

Adding doc and tests - #1492

Merged
matlabbe merged 240 commits into
masterfrom
gtest
Aug 6, 2026
Merged

matlabbe merged 240 commits into
masterfrom
gtest

Conversation

@matlabbe

@matlabbe matlabbe commented Apr 25, 2025 •

Copy link
Copy Markdown
Member

What this PR brings:

  • Tests!
  • API documentation
  • Coverage report artifacts
  • Doxygen artifacts
  • Sphinx (ros2doc) artifacts will do rosdoc2 only for rtabmap_ros packages
  • gh_pages now generated by github actions, the main page will have to be modified under website folder on master branch

Breaking changes:

  • USemaphore's acquire/acquireTry/release and UMutex's lock/lockTry/unlock are all now returning true or false (instead of nebulous error code), so it means if someone was calling if(mutex_.lockTry() == 0), they should now do if(mutex_.lockTry()) (inverse), meaning we could lock the mutex. Actually, now only USempahore::acquireTry() on linux is inverted (standardized with the other ones).
  • For parameter names that have change, the downstream code would have compilation errors.
  • PythonInterface: If rtabmap is built with python support, you still have to instantiate the PythonInterface on the main thread (see PythonInterface documentation). However, you have to change:
    #include <rtabmap/core/Version.h>
    #ifdef RTABMAP_PYTHON
    #include <rtabmap/core/PythonInterface.h>
    #endif
    
    int main(int argc, char * argv[]) {
    
    #ifdef RTABMAP_PYTHON
    - rtabmap::PythonInterface pythonInterface;
    + rtabmap::PythonInterface::instance("my_app_main");
    #endif
    
    [...]
    return 0;
    }

matlabbe added 30 commits April 25, 2025 15:15
github-actions Bot added a commit that referenced this pull request Aug 3, 2026
github-actions Bot added a commit that referenced this pull request Aug 3, 2026
github-actions Bot added a commit that referenced this pull request Aug 4, 2026
github-actions Bot added a commit that referenced this pull request Aug 5, 2026
github-actions Bot added a commit that referenced this pull request Aug 5, 2026
github-actions Bot added a commit that referenced this pull request Aug 5, 2026
github-actions Bot added a commit that referenced this pull request Aug 5, 2026
github-actions Bot added a commit that referenced this pull request Aug 5, 2026
github-actions Bot added a commit that referenced this pull request Aug 5, 2026
github-actions Bot added a commit that referenced this pull request Aug 5, 2026
@matlabbe
matlabbe merged commit ee49bea into master Aug 6, 2026
@matlabbe
matlabbe deleted the gtest branch August 6, 2026 20:32
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