We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6911ad6 commit 3ba9146Copy full SHA for 3ba9146
1 file changed
python/rcsss/control/vive.py
@@ -130,7 +130,7 @@ def run(self):
130
)
131
132
# Compute angle around z axis: https://stackoverflow.com/questions/21483999/using-atan2-to-find-angle-between-two-vectors
133
- rot_z = np.atan2(x_axis_rot.translation()[1], x_axis_rot.translation()[0]) - np.atan2(
+ rot_z = np.arctan2(x_axis_rot.translation()[1], x_axis_rot.translation()[0]) - np.arctan2(
134
x_axis.translation()[1], x_axis.translation()[0]
135
136
rot_z -= np.pi / 2
0 commit comments