diff --git a/src/pyuwds3/reasoning/monitoring/graphic_monitor.py b/src/pyuwds3/reasoning/monitoring/graphic_monitor.py index 776a812..5b7a086 100644 --- a/src/pyuwds3/reasoning/monitoring/graphic_monitor.py +++ b/src/pyuwds3/reasoning/monitoring/graphic_monitor.py @@ -107,7 +107,7 @@ def __init__(self,agent=None,agent_type =AgentType.ROBOT, # self.internal_simulator.load_node(node) self.time=rospy.Time().now().to_nsec() def pick_callback(self, msg): - if msg.action = RobotAction.PICK: + if msg.action == RobotAction.PICK: self.pick_map[msg.objID]="pr2_arm"+str(msg.arm) else: if msg.objID in self.pick_map: