Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
13
def
mod2pi(theta):
14
return
theta - 2.0 * math.pi * math.floor(theta / 2.0 / math.pi)
15
16
17
def
pi_2_pi(angle):
Callers
7
LSL
Function · 0.70
RSR
Function · 0.70
LSR
Function · 0.70
RSL
Function · 0.70
RLR
Function · 0.70
LRL
Function · 0.70
dubins_path_planning_from_origin
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected