Skip to content

Fix octomap not being locked in PlanningScene::getOctomapMsg - #3736

Open
Hugal31 wants to merge 1 commit into
moveit:masterfrom
Hugal31:fix/lock-octomap-in-planning-scene
Open

Hugal31 wants to merge 1 commit into
moveit:masterfrom
Hugal31:fix/lock-octomap-in-planning-scene

Conversation

@Hugal31

@Hugal31 Hugal31 commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Description

  • Enforce the use of collision_detection::OccMapTree in the collision detection world.
  • Lock the octomap in PlanningScene::getOctomapMsg.

Closes #1082.

BREAKING CHANGES: Change the signature of PlanninScene::processOctomapPtr.

Checklist

  • Required by CI: Code is auto formatted using clang-format
  • Extend the tutorials / documentation reference
  • Document API changes relevant to the user in the MIGRATION.md notes
  • Create tests, which fail without this PR reference
  • Include a screenshot if changing a GUI
  • While waiting for someone to review your request, please help review another open pull request to support the maintainers

* Enforce the use of `collision_detection::OccMapTree` in the
  collision detection world.
* Lock the octomap in PlanningScene::getOctomapMsg.

Closes moveit#1082.

BREAKING CHANGES: Change the signature of PlanninScene::processOctomapPtr.
@Hugal31
Hugal31 requested a review from rhaschke as a code owner June 22, 2026 15:12
@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 31.25000% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 62.05%. Comparing base (a4febda) to head (51a2664).

Files with missing lines Patch % Lines
moveit_core/planning_scene/src/planning_scene.cpp 31.25% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3736      +/-   ##
==========================================
- Coverage   62.10%   62.05%   -0.04%     
==========================================
  Files         385      385              
  Lines       32743    32750       +7     
==========================================
- Hits        20331    20321      -10     
- Misses      12412    12429      +17     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

PlanningScene::getOctomapMsg/processOctomapMsg do not lock Octomap

1 participant