diff --git a/driving_log_replayer/driving_log_replayer/lanelet2_util.py b/driving_log_replayer/driving_log_replayer/lanelet2_util.py index f686af25d..984c17305 100644 --- a/driving_log_replayer/driving_log_replayer/lanelet2_util.py +++ b/driving_log_replayer/driving_log_replayer/lanelet2_util.py @@ -14,10 +14,10 @@ from typing import Any -from lanelet2_extension_python.projection import MGRSProjector -from lanelet2_extension_python.utility import query import lanelet2 from lanelet2.core import Lanelet +from lanelet2_extension_python.projection import MGRSProjector +from lanelet2_extension_python.utility import query from shapely.geometry import Polygon diff --git a/driving_log_replayer/package.xml b/driving_log_replayer/package.xml index 05cc54ee6..6e7607200 100644 --- a/driving_log_replayer/package.xml +++ b/driving_log_replayer/package.xml @@ -34,8 +34,8 @@ tier4_localization_msgs visualization_msgs - lanelet2_extension_python driving_log_replayer_analyzer + lanelet2_extension_python perception_eval python-transforms3d-pip python3-jsonschema diff --git a/driving_log_replayer/scripts/obstacle_segmentation_evaluator_node.py b/driving_log_replayer/scripts/obstacle_segmentation_evaluator_node.py index e85badbf4..b07f2112a 100755 --- a/driving_log_replayer/scripts/obstacle_segmentation_evaluator_node.py +++ b/driving_log_replayer/scripts/obstacle_segmentation_evaluator_node.py @@ -19,12 +19,12 @@ from pathlib import Path from typing import TYPE_CHECKING -from lanelet2_extension_python.utility.query import getLaneletsWithinRange from diagnostic_msgs.msg import DiagnosticArray from diagnostic_msgs.msg import DiagnosticStatus from geometry_msgs.msg import PoseStamped from geometry_msgs.msg import TransformStamped import lanelet2 # noqa +from lanelet2_extension_python.utility.query import getLaneletsWithinRange import numpy as np from perception_eval.config import SensingEvaluationConfig from perception_eval.manager import SensingEvaluationManager diff --git a/driving_log_replayer/test/unittest/test_lanelet2.py b/driving_log_replayer/test/unittest/test_lanelet2.py index 0b4e59414..480645a5c 100644 --- a/driving_log_replayer/test/unittest/test_lanelet2.py +++ b/driving_log_replayer/test/unittest/test_lanelet2.py @@ -12,7 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from lanelet2_extension_python.utility.query import getLaneletsWithinRange from geometry_msgs.msg import Point import lanelet2 # noqa from lanelet2.core import BasicPoint2d @@ -21,6 +20,7 @@ from lanelet2.core import LineString3d from lanelet2.core import Point3d from lanelet2.geometry import distance +from lanelet2_extension_python.utility.query import getLaneletsWithinRange from shapely.geometry import Polygon from driving_log_replayer.lanelet2_util import to_shapely_polygon