[fix] up it

This commit is contained in:
jieshoudaxue
2023-12-14 21:08:00 +08:00
parent 394b1aeea0
commit 5cd4106689
+1 -1
View File
@@ -53,7 +53,7 @@ def main():
while not rospy.is_shutdown(): while not rospy.is_shutdown():
start_time = rospy.Time.now() start_time = rospy.Time.now()
i = random.randint(0,4) i = random.SystemRandom().randint(0, 4)
goal = MoveBaseGoal() goal = MoveBaseGoal()
goal.target_pose.pose = target_list[i] goal.target_pose.pose = target_list[i]