From 01d99cf183340e27e8b02982cb5e4e1846bad0fb Mon Sep 17 00:00:00 2001 From: JivanKesan Date: Fri, 2 Feb 2024 13:49:07 -0500 Subject: [PATCH] type error fixed --- modules/decision/decision.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/decision/decision.py b/modules/decision/decision.py index 5fd635e3..e46389d1 100644 --- a/modules/decision/decision.py +++ b/modules/decision/decision.py @@ -23,7 +23,7 @@ def distance_to_pad( def weight_pads( self, - pads: list[object_in_world.ObjectInWorld], + pads: "list[object_in_world.ObjectInWorld]", current_position: odometry_and_time.OdometryAndTime, ): """ @@ -57,7 +57,7 @@ def __find_best_pad(self): def run( self, states: odometry_and_time.OdometryAndTime, - pads: list[object_in_world.ObjectInWorld], + pads: "list[object_in_world.ObjectInWorld]", ) -> decision_command.DecisionCommand: """ Determine the best landing pad and issue a command to land there.