Limit spacing

This commit is contained in:
Raffson 2022-11-27 21:09:51 +01:00
parent e5c80ef3af
commit 07d0e555e5
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -72,7 +72,7 @@ class JoinPointBuilder(PydcsWaypointBuilder):
vertical_spacing: float = 2000.0,
) -> None:
rx = (random.random() + 0.1) * 1000
rx = (random.random() + 0.1) * 333
ry = feet(vertical_spacing).meters
rz = (random.random() + 0.1) * 50 * random.choice([-1, 1])
pos = {"x": rx, "y": ry, "z": rz}