Skip to content

Commit 76308cb

Browse files
authored
Merge pull request #275 from compas-dev/ne_bug
add __ne__ to PlanningSceneComponents
2 parents 6e68dbd + f2ce33c commit 76308cb

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Unreleased
3030
* Added ``compas_fab.robots.Robot.ensure_geometry``
3131
* Added serialization methods to ``compas_fab.robots.CollisionMesh`` and ``compas_fab.robots.AttachedCollisionMesh``
3232
* Added ``attached_collision_meshes`` attribute to ``compas_fab.robots.JointTrajectory``
33+
* Added ``compas_fab.backends.ros.PlanningSceneComponents.__ne__``
3334

3435
**Changed**
3536

src/compas_fab/backends/ros/messages/moveit_msgs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,9 @@ def __init__(self, components=None):
475475
def __eq__(self, other):
476476
return self.components == other
477477

478+
def __ne__(self, other):
479+
return not self.__eq__(other)
480+
478481
@property
479482
def human_readable(self):
480483
cls = type(self)

0 commit comments

Comments
 (0)