def random_particle(neg_x_limit, x_limit, neg_y_limit, y_limit, weight): '''Returns a random particle within the limits of a map. ''' return Particle(Pose.random_pose(neg_x_limit, x_limit, neg_y_limit, y_limit), weight)