From ac24c6ed2f6fc830de95d0a6cd6f7f59ba1da796 Mon Sep 17 00:00:00 2001 From: Piotr Dec Date: Fri, 2 Aug 2024 00:24:35 +0200 Subject: [PATCH] chore: small python suite fix --- python/test.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/python/test.py b/python/test.py index 0ff701f..e51a2ae 100644 --- a/python/test.py +++ b/python/test.py @@ -49,6 +49,12 @@ def direction(controller: Controller): controller.set_direction(OutAngle.EasyLeft, OutType.LongerLane) controller.set_direction(OutAngle.Left, OutType.LongerLane) controller.set_direction(OutAngle.SharpLeft, OutType.LongerLane) + roundabout(controller) + controller.set_direction(OutAngle.Left, OutType.Flag) + controller.set_direction(OutAngle.Right, OutType.Flag) + + +def roundabout(controller: Controller): controller.set_direction(OutAngle.SharpRight, OutType.RightRoundabout) controller.set_direction(OutAngle.Right, OutType.RightRoundabout) controller.set_direction(OutAngle.EasyRight, OutType.RightRoundabout) @@ -56,8 +62,7 @@ def direction(controller: Controller): controller.set_direction(OutAngle.EasyLeft, OutType.RightRoundabout) controller.set_direction(OutAngle.Left, OutType.RightRoundabout) controller.set_direction(OutAngle.SharpLeft, OutType.RightRoundabout) - controller.set_direction(OutAngle.Left, OutType.Flag) - controller.set_direction(OutAngle.Right, OutType.Flag) + controller.set_direction(OutAngle.Down, OutType.RightRoundabout) def distance(controller: Controller):