Skip to content

Commit

Permalink
Apply Black
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-caron committed Feb 22, 2024
1 parent 84f1d5b commit 17e042e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pink/tasks/frame_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,14 +147,18 @@ def set_target_orientation(
"""
self.transform_target_to_world.rotation = rotation_target_to_world

def set_target_position(self, translation_world_to_target_in_world: NDArray[float]) -> None:
def set_target_position(
self, translation_world_to_target_in_world: NDArray[float]
) -> None:
"""Set the position of the target frame in the world frame.
Args:
translation_world_to_target_in_world: Position of the task target
frame in the world frame.
"""
self.transform_target_to_world.translation = translation_world_to_target_in_world
self.transform_target_to_world.translation = (
translation_world_to_target_in_world
)

def set_target_from_configuration(
self, configuration: Configuration
Expand Down

0 comments on commit 17e042e

Please sign in to comment.