diff --git a/pybotics/geometry.py b/pybotics/geometry.py index 3c13727f..8c305eef 100644 --- a/pybotics/geometry.py +++ b/pybotics/geometry.py @@ -64,7 +64,7 @@ def vector_2_matrix( # iterate through rotation order # build rotation matrix transform_matrix = np.eye(4) - for axis, value in zip(convention, rotation_component): # type: ignore + for axis, value in zip(convention, rotation_component): current_rotation = globals()[f"rotation_matrix_{axis}"](value) transform_matrix = np.dot(transform_matrix, current_rotation)