Modularizing Perception Stack for multiple ROS Packages #7
6 errors
Autopep8 found 6 errors
Annotations
Check failure on line 13 in autonomy/samples/python/aggregator/setup.py
github-actions / Autopep8
autonomy/samples/python/aggregator/setup.py#L1-L13
+from setuptools import setup
import os
-from glob install_requires=['setuptools'],
- zip_safe=True,
- maintainer='eddyzhou, aryanafrouzi',
- maintainer_email='e23zhou@watonomous.ca, aafrouzi@watonomous.ca',
- description='Sample aggregator node for data collection',
- license='Apache2.0',
- tests_require=['pytest'], glob
-from setuptools import setup
+from glob install_requires = ['setuptools'],
+zip_safe = True,
+maintainer = 'eddyzhou, aryanafrouzi',
+maintainer_email = 'e23zhou@watonomous.ca, aafrouzi@watonomous.ca',
+description = 'Sample aggregator node for data collection',
+license = 'Apache2.0',
+tests_require = ['pytest'], glob
package_name = 'aggregator'
Check failure on line 33 in src/perception/perception_launch/launch/perception.launch.py
github-actions / Autopep8
src/perception/perception_launch/launch/perception.launch.py#L26-L33
'config',
'params.yaml'
)
-
+
# Load pose estimation parameters
pose_param_file_path = os.path.join(
get_package_share_directory('pose_estimation'),
github-actions / Autopep8
src/perception/depth_estimation/depth_estimation/depth_estimation_core.py#L33-L39
def serialize_data(self):
return "x:" + str(self.__pos_x) + ";y:" + \
str(self.__pos_y) + ";z:" + str(self.__pos_z) + ";"
-
-
-
github-actions / Autopep8
src/perception/depth_estimation/depth_estimation/depth_estimation_node.py#L27-L37
pass
-
def main(args=None):
rclpy.init(args=args)
return
+
if __name__ == '__main__':
main()
Check failure on line 37 in src/perception/pose_estimation/pose_estimation/pose_estimation_node.py
github-actions / Autopep8
src/perception/pose_estimation/pose_estimation/pose_estimation_node.py#L27-L37
pass
-
def main(args=None):
rclpy.init(args=args)
return
+
if __name__ == '__main__':
main()
Check failure on line 39 in src/perception/pose_estimation/pose_estimation/pose_estimation_core.py
github-actions / Autopep8
src/perception/pose_estimation/pose_estimation/pose_estimation_core.py#L33-L39
def serialize_data(self):
return "x:" + str(self.__pos_x) + ";y:" + \
str(self.__pos_y) + ";z:" + str(self.__pos_z) + ";"
-
-
-