diff --git a/robot_hunt_maze/scripts/exploring_maze.py b/robot_hunt_maze/scripts/exploring_maze.py index 8bd5187..c002b50 100755 --- a/robot_hunt_maze/scripts/exploring_maze.py +++ b/robot_hunt_maze/scripts/exploring_maze.py @@ -53,7 +53,7 @@ def main(): while not rospy.is_shutdown(): start_time = rospy.Time.now() - i = random.randint(0,4) + i = random.SystemRandom().randint(0, 4) goal = MoveBaseGoal() goal.target_pose.pose = target_list[i]