From f8821ceb2381119aff24077e42520842106de604 Mon Sep 17 00:00:00 2001 From: Taeykung Kim Date: Wed, 6 Jan 2021 16:18:22 +0900 Subject: [PATCH] fix for minor error in pyorca.py --- pyorca.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyorca.py b/pyorca.py index 2bcee3c..42dee7e 100644 --- a/pyorca.py +++ b/pyorca.py @@ -130,7 +130,7 @@ def get_avoidance_velocity(agent, collider, t, dt): ((leg_len, sine), (-sine, leg_len))) rotated_x = rot.dot(x) / x_len_sq - n = perp(rotated_x) + n = perp(rotated_x) if sine < 0: # Need to flip the direction of the line to make the # half-plane point out of the cone.