MCPcopy
hub / github.com/AtsushiSakai/PythonRobotics / mod2pi

Function mod2pi

PathPlanning/RRTStarDubins/dubins_path_planning.py:13–14  ·  view source on GitHub ↗
(theta)

Source from the content-addressed store, hash-verified

11
12
13def mod2pi(theta):
14 return theta - 2.0 * math.pi * math.floor(theta / 2.0 / math.pi)
15
16
17def pi_2_pi(angle):

Callers 7

LSLFunction · 0.70
RSRFunction · 0.70
LSRFunction · 0.70
RSLFunction · 0.70
RLRFunction · 0.70
LRLFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected