AndrejOrsula / pymoveit2

Basic Python interface for MoveIt 2 built on top of ROS 2 actions and services
BSD 3-Clause "New" or "Revised" License
137 stars 54 forks source link

Allow clearing all collision objects #69

Closed amalnanavati closed 4 months ago

amalnanavati commented 4 months ago

Description

Although users can theoretically remove all collision obejcts by removing them one-at-a-time with remove_collision_object, that process has two downsides: (a) it is slow; and (b) collision object updates that are sent via topic publication are not always processed by MoveIt, particularly if multiple are sent in quick succession.

Thus, this PR adds the ability for users to clear all collision objects in the planning scene via service call.

Testing

Note

I'm okay with either merging it to master or devel. Since it strictly adds functionality, perhaps it only needs to be a minor release?