Skip to content

Possible bug in ModifyPlanningScene #349

@JafarAbdi

Description

@JafarAbdi

I'm not sure if this's a bug in ModifyPlanningScene or a misuse from my side, so I have the following task

CurrentState
Connect                  
MoveRelative           ------------------------------------
ModifyPlanningScene                                       | 
GeneratePose(monitor CurrentState)                        |   Collision Enabled Between EE and Octomap
ModifyPlanningScene                                       |
...                    ------------------------------------
ModifyPlanningScene (Forbid collision)

The reason why I have two ModifyPlanningScene between GeneratePose is that I need the collision to be disabled for the MoveRelative (maybe could be replaced with #253)

This's isn't working because in modify_planning_scene.cpp#L90-L92 we revert the user choice in the backward case so allowing collision become forbid collision, is this a bug or intended behavior?

If ModifyPlanningScene is only meant to be used as forward should it inherit from PropagatingForward?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions