python turtle 手撸RRT算法
Python RRT源代码
# -*- coding: utf-8 -*-
"""
Spyder Editor
This is a temporary script file.
"""
import random
import math
import turtle as t
t.speed(10000)
#initial the map 500*500 map +-250
t.pu()
t.goto(-250,250)
t.pd()
t.fd(500)
for i in range(3):
原创
2021-04-03 12:31:04 ·
496 阅读 ·
3 评论