Skip to content

Commit

Permalink
Update variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Sep 8, 2024
1 parent 2b6aa50 commit 96e8e13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyrobosim/pyrobosim/gui/world_canvas.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,10 +579,10 @@ def detect_objects(self, robot, query=None):
message="Robot is not specified. Cannot detect objects.",
)

success = robot.detect_objects(query)
result = robot.detect_objects(query)
self.show_objects()
self.draw_signal.emit()
return success
return result

def open_location(self, robot):
"""
Expand Down

0 comments on commit 96e8e13

Please sign in to comment.