MCPcopy
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
355def pi_2_pi(angle):
356 return (angle + math.pi) % (2 * math.pi) - math.pi
357
358
359def main():

Callers 8

calc_final_stateFunction · 0.70
add_new_lmFunction · 0.70
compute_jacobiansFunction · 0.70
update_landmarkFunction · 0.70
compute_weightFunction · 0.70
proposal_samplingFunction · 0.70
observationFunction · 0.70
motion_modelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected