comment out some stuff
This commit is contained in:
parent
27f585ff51
commit
e8224a2db1
1 changed files with 3 additions and 3 deletions
|
@ -265,12 +265,12 @@ class Locator:
|
||||||
np.array(tuple(scan_data[i].distance for i in peer_ids)).reshape((-1, 1)),
|
np.array(tuple(scan_data[i].distance for i in peer_ids)).reshape((-1, 1)),
|
||||||
))
|
))
|
||||||
|
|
||||||
print(np_ranges)
|
#print(np_ranges)
|
||||||
|
|
||||||
measured_ranges = np_ranges[:, 3]
|
measured_ranges = np_ranges[:, 3]
|
||||||
print('a', measured_ranges)
|
#print('a', measured_ranges)
|
||||||
# measured_ranges[measured_ranges<1] = 1
|
# measured_ranges[measured_ranges<1] = 1
|
||||||
print('b', measured_ranges)
|
#print('b', measured_ranges)
|
||||||
|
|
||||||
# rating the guess by calculating the distances
|
# rating the guess by calculating the distances
|
||||||
def diff_func(guess):
|
def diff_func(guess):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue