Skip to content

Commit 94e03e1

Browse files
committed
code clean up
1 parent f419f6a commit 94e03e1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

SLAM/EKFSLAM/ekf_slam.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
author: Atsushi Sakai (@Atsushi_twi)
44
"""
55

6-
import numpy as np
76
import math
7+
import numpy as np
88
import matplotlib.pyplot as plt
99

1010

@@ -169,7 +169,6 @@ def search_correspond_LM_ID(xAug, PAug, zi):
169169
def calc_innovation(lm, xEst, PEst, z, LMid):
170170
delta = lm - xEst[0:2]
171171
q = (delta.T @ delta)[0, 0]
172-
#zangle = math.atan2(delta[1], delta[0]) - xEst[2]
173172
zangle = math.atan2(delta[1, 0], delta[0, 0]) - xEst[2, 0]
174173
zp = np.array([[math.sqrt(q), pi_2_pi(zangle)]])
175174
y = (z - zp).T

0 commit comments

Comments
 (0)