Skip to content

Commit

Permalink
🎨 rm unused imports and adjust prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Rezenders committed Jan 17, 2024
1 parent fc1df41 commit d17eac9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions suave_metacontrol/launch/metacontrol.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
from launch.actions import IncludeLaunchDescription
from launch.launch_description_sources import PythonLaunchDescriptionSource

from launch_ros.actions import Node


def generate_launch_description():

Expand Down
4 changes: 2 additions & 2 deletions suave_metacontrol/suave_metacontrol/suave_reasoner.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def analyze(self):
objective.o_status = "IN_ERROR_NFR"
except Exception as err:
self.logger.info(
"In Custom Analyze, exception returned: {}".format(err))
"In custom Analyze, exception returned: {}".format(err))
return objectives_in_error


Expand All @@ -54,7 +54,7 @@ def main(args=None):

# Spin until the process in terminated
rclpy.spin(pipeline_inspection_reasoner, executor=mt_executor)
ros_reasoner.destroy_node()
pipeline_inspection_reasoner.destroy_node()
rclpy.shutdown()


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@
import sys
import rclpy

from diagnostic_msgs.msg import DiagnosticArray
from diagnostic_msgs.msg import DiagnosticStatus
from diagnostic_msgs.msg import KeyValue
from mros2_msgs.action import ControlQos

from rclpy.executors import MultiThreadedExecutor
from rclpy.callback_groups import MutuallyExclusiveCallbackGroup
from rclpy.action import ActionClient
from rclpy.node import Node
from suave.task_bridge import TaskBridge


Expand Down

0 comments on commit d17eac9

Please sign in to comment.