From af3064ad4c199e361859ce7c6f57b3c0c96e0069 Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Mon, 10 Oct 2022 15:00:30 +0200 Subject: [PATCH] :sparkles: --- selflocalization/selflocalize.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selflocalization/selflocalize.py b/selflocalization/selflocalize.py index 39e2160..80a9dc1 100644 --- a/selflocalization/selflocalize.py +++ b/selflocalization/selflocalize.py @@ -254,7 +254,7 @@ try: particle.add_uncertainty(particles, SIGMA, SIGMA_THETA) est_pose = particle.estimate_pose(particles) # The estimate of the robots current pose calc_weight(est_pose, landmark_values) - est_weight = est_pose.weight * 10**10 + est_weight = est_pose.weight print("est_weight:", est_weight) if est_weight > 1: draw_world(est_pose, particles, world)