实现了yaw轴的转动,mid360参数更加接近实际的参数
This commit is contained in:
1 parent
72f407c110
commit
96445bd5f1
61 files changed
+2460
-235
No files matched your search
@@ -75,8 +75,9 @@ class ArenaGrid:
|
||||
return mask
|
||||
|
||||
def coverage(self):
|
||||
# Largest radius of the existing 0.65 x 0.54 m rectangular footprint.
|
||||
travel = self.clear(math.hypot(0.325, 0.270))
|
||||
# 外接半径:footprint 现在是 0.61 x 0.61 的正方形(要覆盖云台 yaw 扫掠圆,
|
||||
# 半径 0.3021 m),外接半径 = 0.305 * sqrt(2)。
|
||||
travel = self.clear(math.hypot(0.305, 0.305))
|
||||
start = self.cell(START)
|
||||
if not travel[start]:
|
||||
raise ValueError('spawn pose fails the footprint clearance check')
|
||||
|
||||
Reference in new issue
Block a user