7 Star 3 Fork 1

wjzhe / mapEditor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
cal.py 373 Bytes
一键复制 编辑 原始数据 按行查看 历史
maxy 提交于 2017-06-09 18:14 . agv实现曲线行走,添加Python文件
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from sympy import *
def circle2(x0, y0, l):
x = Symbol('x')
y = Symbol('y')
print(x0)
print(y0)
r = solve([x ** 2 + y ** 2 - 10000, (x - x0) ** 2 + (y - y0) ** 2 - l ** 2], [x, y])
print(r)
print([( float(r[0][0]), float(r[0][1]) ), ( float(r[1][0]), float(r[1][1]) )])
return r
C++
1
https://gitee.com/null_446_4477/mapeditor.git
git@gitee.com:null_446_4477/mapeditor.git
null_446_4477
mapeditor
mapEditor
master

搜索帮助