comment out some stuff

This commit is contained in:
Laura Klünder 2024-12-27 16:05:39 +01:00
parent 27f585ff51
commit e8224a2db1

View file

@ -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):