Skip to content

Commit

Permalink
add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Serafadam committed Jan 12, 2024
1 parent 0ca1720 commit 8cd699d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rae_sdk/rae_sdk/robot/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def battery_state(self) -> BatteryState:

@property
def perception_system(self) -> PerceptionSystem:
"""Creates perception system if it doesn't exist and returns it."""
if self._perception_system is None:
self._perception_system = PerceptionSystem(self._robot_options.namespace)
return self._perception_system
Expand Down

0 comments on commit 8cd699d

Please sign in to comment.