MCPcopy Create free account
hub / github.com/TeleHuman/TextOp / normalize_angle

Function normalize_angle

TextOpRobotMDAR/robotmdar/dtype/rotation.py:148–149  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

146
147@torch.jit.script
148def normalize_angle(x):
149 return torch.atan2(torch.sin(x), torch.cos(x))
150
151
152@torch.jit.script

Callers 1

quat_to_angle_axisFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected