Skip to content

Commit

Permalink
chore: apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanElsner committed Feb 24, 2024
1 parent 737207f commit c4a21c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/garmi_parti/parti/haptic_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _plane_callback(self, message: dict) -> None:

def _object_callback(self, message: dict) -> None:
# object in right arm base frame
T_right0_object = tr.pos_quat_to_hmat( # pylint: disable=invalid-name
T_right0_object = tr.pos_quat_to_hmat( # pylint: disable=invalid-name

Check warning on line 111 in src/garmi_parti/parti/haptic_simulation.py

View check run for this annotation

Codecov / codecov/patch

src/garmi_parti/parti/haptic_simulation.py#L111

Added line #L111 was not covered by tests
[
message["pose"]["position"]["x"],
message["pose"]["position"]["y"],
Expand All @@ -122,7 +122,7 @@ def _object_callback(self, message: dict) -> None:
],
)
# object in plane frame
T_plane_object = T_plane_0 @ T_0_right0 @ T_right0_object # pylint: disable=invalid-name
T_plane_object = T_plane_0 @ T_0_right0 @ T_right0_object # pylint: disable=invalid-name

Check warning on line 125 in src/garmi_parti/parti/haptic_simulation.py

View check run for this annotation

Codecov / codecov/patch

src/garmi_parti/parti/haptic_simulation.py#L125

Added line #L125 was not covered by tests

theta = spatialmath.SO3(T_plane_object[:3, :3]).rpy()
theta = theta[2]
Expand Down

0 comments on commit c4a21c0

Please sign in to comment.