diff --git a/human_detector/human_detector/human_detector.py b/human_detector/human_detector/human_detector.py index b7084f6..092f04a 100644 --- a/human_detector/human_detector/human_detector.py +++ b/human_detector/human_detector/human_detector.py @@ -1,14 +1,14 @@ -from human_detector.human_detector_parameters import human_detector_parameters -from rclpy.lifecycle.node import LifecycleState, TransitionCallbackReturn -from tf2_ros.transform_broadcaster import TransformBroadcaster +import cv2 +from cv_bridge.core import CvBridge from geometry_msgs.msg import TransformStamped -from sensor_msgs.msg import Image, CameraInfo +from human_detector.human_detector_parameters import human_detector_parameters from image_geometry import PinholeCameraModel -from rclpy.lifecycle import LifecycleNode -from cv_bridge.core import CvBridge -import mediapipe as mp +import mediaspipe as mp import rclpy -import cv2 +from rclpy.lifecycle import LifecycleNode +from rclpy.lifecycle.node import LifecycleState, TransitionCallbackReturn +from sensor_msgs.msg import CameraInfo, Image +from tf2_ros.transform_broadcaster import TransformBroadcaster def mm_to_m(mm): diff --git a/human_detector/setup.py b/human_detector/setup.py index 455ae05..d54d85c 100644 --- a/human_detector/setup.py +++ b/human_detector/setup.py @@ -1,5 +1,5 @@ -from setuptools import find_packages, setup from generate_parameter_library_py.setup_helper import generate_parameter_module +from setuptools import find_packages, setup package_name = "human_detector" diff --git a/python_linter.flake8 b/python_linter.flake8 index bfc16bf..b446ed1 100644 --- a/python_linter.flake8 +++ b/python_linter.flake8 @@ -1,5 +1,5 @@ [flake8] exclude = .git,__pycache__, install/*, build/* max-line-length = 120 -extend-ignore = B902,C816,D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D404,I202,Q000 +extend-ignore = B902,C816,D100,D101,D102,D103,D104,D105,D106,D107,D203,D212,D404,I202,Q000,CNL100 import-order-style = google