✨
This commit is contained in:
1 parent
ac5e76d977
commit
d4a4d1c443
1 file changed
+2
-1
@@ -255,7 +255,8 @@ try:
|
|||||||
est_pose, certainty = particle.estimate_pose(particles) # The estimate of the robots current pose
|
est_pose, certainty = particle.estimate_pose(particles) # The estimate of the robots current pose
|
||||||
calc_weight(est_pose, landmark_values)
|
calc_weight(est_pose, landmark_values)
|
||||||
est_weight = est_pose.weight * 10**23
|
est_weight = est_pose.weight * 10**23
|
||||||
print(est_weight)
|
print("est_weight:", est_weight)
|
||||||
|
print("certainty:", certainty)
|
||||||
if est_weight > 1 and certainty > 1:
|
if est_weight > 1 and certainty > 1:
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in new issue
Block a user