Skip to content

Commit

Permalink
fix mypy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
luator committed Sep 21, 2023
1 parent cba6b02 commit 8b5407f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion robot_fingers/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Utility classes/functions for the robot_fingers package."""
import time
import typing as t

import numpy as np
import numpy.typing as npt
Expand Down Expand Up @@ -36,7 +37,7 @@ def update(self) -> None:

def min_jerk_trajectory(
start_position: npt.ArrayLike, end_position: npt.ArrayLike, num_steps: int
) -> npt.NDArray:
) -> t.Iterator[npt.NDArray]:
"""Generator for computing minimum jerk trajectories.
Example:
Expand Down

0 comments on commit 8b5407f

Please sign in to comment.