Skip to content

Commit

Permalink
Merge pull request #12 from micropsi-industries/fix-get-home-tolerance
Browse files Browse the repository at this point in the history
Fix indentation level on get_home_tolerance
  • Loading branch information
arthurrauter committed Aug 23, 2022
2 parents a3fda29 + 8e1b6ec commit bf069cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
21 changes: 11 additions & 10 deletions micropsi_integration_sdk/robot_sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,16 +303,17 @@ def get_frequency(self) -> float:
"""
return 50.

def get_home_tolerance(self) -> float:
""" Optional, override as appropriate.
When the robot is sent home, the home tolerance defines how much the sum of
all current joint positions can differ from the sum of all joint position of
the configured home position for the position to be considered "home". The
unit for the joints is the same unit being returned by get_hardware_state.
Default is 0.1.
"""
return 0.1
def get_home_tolerance(self) -> float:
"""
Optional, override as appropriate.
When the robot is sent home, the home tolerance defines how much the sum of
all current joint positions can differ from the sum of all joint position of
the configured home position for the position to be considered "home". The
unit for the joints is the same unit being returned by get_hardware_state.
Default is 0.1.
"""
return 0.1

def get_sensitivity_range(self) -> dict:
"""
Expand Down
2 changes: 1 addition & 1 deletion micropsi_integration_sdk/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "0.19.0"
VERSION = "0.20.0"

0 comments on commit bf069cd

Please sign in to comment.