Skip to content

CurrentStateMonitor does not correctly report attached collision objects, but PlanningSceneMonitor does. #2748

@sea-bass

Description

@sea-bass

Description

We had an issue with MoveIt Servo that was fixed in #2747, where collision checking with attached objects was failing since the presence of the object was not correct.

Simply switching the line:

robot_state_ = planning_scene_monitor_->getStateMonitor()->getCurrentState();

to

robot_state_ = planning_scene_monitor_->getPlanningScene()->getCurrentState();

fixes the issue, so I wanted to file a bug tracking this mismatch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions