From ea3e49aa3bee079eccb1835530ca42750b365c7d Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial <xan@xantronix.com> Date: Mon, 3 Mar 2025 17:32:19 -0500 Subject: [PATCH] Fix speed circle radius calculation --- lib/xmet/hodograph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/xmet/hodograph.py b/lib/xmet/hodograph.py index 731e863..4186006 100644 --- a/lib/xmet/hodograph.py +++ b/lib/xmet/hodograph.py @@ -72,7 +72,7 @@ class Hodograph(): cr.arc(x + cx, x + cy, - sy - self.radius, + abs(sy - cy), 0, 2*math.pi)