标签:
one_point = 1780/(406- 26) #每个像素的距离 h = 134 #最小离地距离 r = one_point* (78-26) #轮子半径 p2 = ( 1780 - 2 * r)/2 p= r -h import math tmp_ang = math.pi - math.acos(p/R) - math.asin(r/R) ang = math.pi/2-tmp_ang print (math.tan(ang))
标签:
原文地址:http://my.oschina.net/cppblog/blog/500849