MCPcopy Create free account
hub / github.com/TeleHuman/PBHC / wrap_to_pi_float

Function wrap_to_pi_float

humanoidverse/deploy/urcirobot.py:36–39  ·  view source on GitHub ↗
(angles:float)

Source from the content-addressed store, hash-verified

34
35
36def wrap_to_pi_float(angles:float):
37 angles %= 2*np.pi
38 angles -= 2*np.pi * (angles > np.pi)
39 return angles
40
41class URCIRobot:
42 REAL: bool

Callers 1

GetStateMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected