mirror of
https://github.com/Jieshoudaxue/ros_senior.git
synced 2026-08-29 08:34:43 +08:00
[fix] up it
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user