Skip to content

Commit

Permalink
Merge pull request #23 from micropsi-industries/prepare-cog-method
Browse files Browse the repository at this point in the history
Prepare robot for cog estimation
  • Loading branch information
cangorur authored Nov 15, 2024
2 parents 2d61916 + 67947b1 commit 0de46a6
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions micropsi_integration_sdk/robot_sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,24 @@ def kill_all_threads(self) -> None:
"""
pass

def prepare_for_cog_estimation(self) -> None:
"""
Optional, override as appropriate.
Many robots may require a different robot communication state for CoG estimation. Mirai only
needs to read the robot state during the CoG and should not send control signals (because the
robot is jogged from its teachpendant). We currently achieve this state by enabling all
communication interfaces and not letting robot control in various ways on either on the robot
side (e.g., by not pressing start button on KUKA) or on the robot's own SDK implementation.
This method now allows us to implement required routines to achieve this. We can set our
communication or the robot configuration on the robot side in a state that the robot sends
its readings to us without needing to engage in robot control and command interface.
This method is at the moment used for KUKA and the new RSI logic that requires a signal from
us to even sends robot state readings to us.
"""
pass


class CartesianPoseRobot(RobotInterface):
"""
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.24.0"
VERSION = "0.25.0"

0 comments on commit 0de46a6

Please sign in to comment.