Skip to content

Commit

Permalink
changed float to np.float64
Browse files Browse the repository at this point in the history
  • Loading branch information
Drenayaz committed Feb 8, 2024
1 parent 255743e commit efb5a32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/example/symbolic_ik_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from reachy2_symbolic_ik.utils import go_to_position


def are_joints_correct(placo_ik: IKReachyQP, joints: npt.NDArray[float], goal_pose: npt.NDArray[float]) -> bool:
def are_joints_correct(placo_ik: IKReachyQP, joints: npt.NDArray[np.float64], goal_pose: npt.NDArray[np.float64]) -> bool:
go_to_position(placo_ik, joints, wait=0)
T_torso_tip = placo_ik.robot.get_T_a_b("torso", "r_tip_joint")
position = T_torso_tip[:3, 3]
Expand Down

0 comments on commit efb5a32

Please sign in to comment.