Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/AtsushiSakai/PythonRobotics
/ pi_2_pi
Function
pi_2_pi
SLAM/FastSLAM2/fast_slam2.py:355–356 ·
view source on GitHub ↗
(angle)
Source
from the content-addressed store, hash-verified
353
354
355
def
pi_2_pi(angle):
356
return
(angle + math.pi) % (2 * math.pi) - math.pi
357
358
359
def
main():
Callers
8
calc_final_state
Function · 0.70
add_new_lm
Function · 0.70
compute_jacobians
Function · 0.70
update_landmark
Function · 0.70
compute_weight
Function · 0.70
proposal_sampling
Function · 0.70
observation
Function · 0.70
motion_model
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected